{"id":11715,"date":"2019-11-26T19:48:10","date_gmt":"2019-11-27T00:48:10","guid":{"rendered":"https:\/\/library.bc.edu\/answerwall\/?p=11715"},"modified":"2019-12-02T09:52:28","modified_gmt":"2019-12-02T14:52:28","slug":"class-2023-whilebcgreat-system-out-printlnhappy-thanksgiving","status":"publish","type":"post","link":"https:\/\/library.bc.edu\/answerwall\/2019\/11\/26\/class-2023-whilebcgreat-system-out-printlnhappy-thanksgiving\/","title":{"rendered":"&#8220;class 2023(){ while(BC==Great) system.out.println(&#8220;&#8221;Happy Thanksgiving&#8221;&#8221;) }&#8230;"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"533\" height=\"468\" src=\"https:\/\/library.bc.edu\/answerwall\/wp-content\/uploads\/2019\/11\/20191126_011836_2.jpg\" alt=\"Class 2023 () { while (BC==Great) System.out.println(&quot;Happy Thanksgiving!&quot;) }Public static void main(string orgs) 2023 ()i } :wy\" class=\"wp-image-11703\" srcset=\"https:\/\/library.bc.edu\/answerwall\/wp-content\/uploads\/2019\/11\/20191126_011836_2.jpg 533w, https:\/\/library.bc.edu\/answerwall\/wp-content\/uploads\/2019\/11\/20191126_011836_2-300x263.jpg 300w\" sizes=\"auto, (max-width: 533px) 100vw, 533px\" \/><figcaption>Class 2023(){while(BC==Great) System.out.println(&#8220;Happy Thanksgiving!&#8221;)} {Public static void main(string args) 2023();} :wq<\/figcaption><\/figure>\n\n\n<pre>import java.util.Date;\nimport java.util.Arrays;\nimport java.util.List;\n\npublic class wall(){\n        public static void main(string args[]){\n                String[] holidays = [\"MLK day\", \"fall break\", \"thanksgiving\",...];\n                Date date = new Date();\n                \/\/wall magic to make this short enough to fit on a post-it\n                boolean isHoliday = Arrays.asList(holidays).contains(date);\n                if (isHoliday == True){\n                        system.out.println(\"Bye! Have a great time! See you when you get back!\"); \n                }\n        }\n}<\/pre>","protected":false},"excerpt":{"rendered":"<p>import java.util.Date; import java.util.Arrays; import java.util.List; public class wall(){ public static void main(string args[]){ String[] holidays = [&#8220;MLK day&#8221;, &#8220;fall break&#8221;, &#8220;thanksgiving&#8221;,&#8230;]; Date date = new Date(); \/\/wall magic to make this short enough to fit on a post-it boolean isHoliday = Arrays.asList(holidays).contains(date); if (isHoliday == True){ system.out.println(&#8220;Bye! Have a great time! See you when &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/library.bc.edu\/answerwall\/2019\/11\/26\/class-2023-whilebcgreat-system-out-printlnhappy-thanksgiving\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;&#8220;class 2023(){ while(BC==Great) system.out.println(&#8220;&#8221;Happy Thanksgiving&#8221;&#8221;) }&#8230;&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[127],"tags":[927],"class_list":["post-11715","post","type-post","status-publish","format-standard","hentry","category-holiday","tag-thanksgiving"],"_links":{"self":[{"href":"https:\/\/library.bc.edu\/answerwall\/wp-json\/wp\/v2\/posts\/11715","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/library.bc.edu\/answerwall\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/library.bc.edu\/answerwall\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/library.bc.edu\/answerwall\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/library.bc.edu\/answerwall\/wp-json\/wp\/v2\/comments?post=11715"}],"version-history":[{"count":4,"href":"https:\/\/library.bc.edu\/answerwall\/wp-json\/wp\/v2\/posts\/11715\/revisions"}],"predecessor-version":[{"id":11743,"href":"https:\/\/library.bc.edu\/answerwall\/wp-json\/wp\/v2\/posts\/11715\/revisions\/11743"}],"wp:attachment":[{"href":"https:\/\/library.bc.edu\/answerwall\/wp-json\/wp\/v2\/media?parent=11715"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/library.bc.edu\/answerwall\/wp-json\/wp\/v2\/categories?post=11715"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/library.bc.edu\/answerwall\/wp-json\/wp\/v2\/tags?post=11715"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}