Statements in Java

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












6














Each code block translates to a specific statement in English. There is a theme behind the statements. As code puzzles tend to be "easier" (relative to other PSE puzzles) than expected, it will not be revealed unless people are unable to make any progress on the phrases.



1:



public class Statement() 
void Riddle1()
Citizen you = new Citizen();
Government() g = new Government();
\g.getService(you)
\after a code revision, I've determined the following is better:
you.getService(g)




2:



System.out.println(listofconcerns.length); \returns 1
System.out.println(listofconcerns[0]); \returns the string "concerns"


3:



(house has been declared and initialized at some point before this line)
int quotient = house/house;
Boolean b = quotient == 1;
System.out.println(b); \returns false, with a compiler specific error on the result not holding up


4:



int anglevel = anger();
if(anglevel > threshold1)
wait(10000);
if( anglevel > threshold2)
wait(90000);











share|improve this question




























    6














    Each code block translates to a specific statement in English. There is a theme behind the statements. As code puzzles tend to be "easier" (relative to other PSE puzzles) than expected, it will not be revealed unless people are unable to make any progress on the phrases.



    1:



    public class Statement() 
    void Riddle1()
    Citizen you = new Citizen();
    Government() g = new Government();
    \g.getService(you)
    \after a code revision, I've determined the following is better:
    you.getService(g)




    2:



    System.out.println(listofconcerns.length); \returns 1
    System.out.println(listofconcerns[0]); \returns the string "concerns"


    3:



    (house has been declared and initialized at some point before this line)
    int quotient = house/house;
    Boolean b = quotient == 1;
    System.out.println(b); \returns false, with a compiler specific error on the result not holding up


    4:



    int anglevel = anger();
    if(anglevel > threshold1)
    wait(10000);
    if( anglevel > threshold2)
    wait(90000);











    share|improve this question


























      6












      6








      6







      Each code block translates to a specific statement in English. There is a theme behind the statements. As code puzzles tend to be "easier" (relative to other PSE puzzles) than expected, it will not be revealed unless people are unable to make any progress on the phrases.



      1:



      public class Statement() 
      void Riddle1()
      Citizen you = new Citizen();
      Government() g = new Government();
      \g.getService(you)
      \after a code revision, I've determined the following is better:
      you.getService(g)




      2:



      System.out.println(listofconcerns.length); \returns 1
      System.out.println(listofconcerns[0]); \returns the string "concerns"


      3:



      (house has been declared and initialized at some point before this line)
      int quotient = house/house;
      Boolean b = quotient == 1;
      System.out.println(b); \returns false, with a compiler specific error on the result not holding up


      4:



      int anglevel = anger();
      if(anglevel > threshold1)
      wait(10000);
      if( anglevel > threshold2)
      wait(90000);











      share|improve this question















      Each code block translates to a specific statement in English. There is a theme behind the statements. As code puzzles tend to be "easier" (relative to other PSE puzzles) than expected, it will not be revealed unless people are unable to make any progress on the phrases.



      1:



      public class Statement() 
      void Riddle1()
      Citizen you = new Citizen();
      Government() g = new Government();
      \g.getService(you)
      \after a code revision, I've determined the following is better:
      you.getService(g)




      2:



      System.out.println(listofconcerns.length); \returns 1
      System.out.println(listofconcerns[0]); \returns the string "concerns"


      3:



      (house has been declared and initialized at some point before this line)
      int quotient = house/house;
      Boolean b = quotient == 1;
      System.out.println(b); \returns false, with a compiler specific error on the result not holding up


      4:



      int anglevel = anger();
      if(anglevel > threshold1)
      wait(10000);
      if( anglevel > threshold2)
      wait(90000);








      english computer-puzzle






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 23 '18 at 1:55

























      asked Dec 23 '18 at 1:22









      Display name

      860216




      860216




















          1 Answer
          1






          active

          oldest

          votes


















          4














          public class Statement() 
          void Riddle1()
          Citizen you = new Citizen();
          Government() g = new Government();
          \g.getService(you)
          \after a code revision, I've determined the following is better:



          Ask not what your country can do for you...




           you.getService(g)



          ...ask what you can do for your country.




           


          System.out.println(listofconcerns.length); \returns 1



          The only thing we have to fear... ("listofconcerns" has just one item)




          System.out.println(listofconcerns[0]); \returns the string "concerns"



          ...is fear itself




          (house has been declared and initialized at some point before this line)
          int quotient = house/house;



          A house divided against itself...




          Boolean b = quotient == 1;
          System.out.println(b); \returns false, with a compiler specific error on the result not holding up



          ...cannot stand (does not hold up)




          int anglevel = anger();
          if(anglevel > threshold1)



          When angry...




           wait(10000);



          count to ten before you speak. (wait() is in milliseconds)




           if( anglevel > threshold2) 



          If very angry...




           wait(90000);



          ...count to one hundred. (we've already counted to 10 at this point, so 10+90)




           



          Theme:




          Things said by dead american presidents: Kennedy, Roosevelt, Lincoln, and Jefferson respectively.







          share|improve this answer






















          • Correct. I suppose there's no way that code puzzles like these will ever be too difficult.
            – Display name
            Dec 23 '18 at 1:42










          • @Displayname Putting them together makes them easier, because once you get one, you get a hint to the others. However, easy doesn't mean bad, I think theme makes it better.
            – deep thought
            Dec 23 '18 at 1:45










          Your Answer





          StackExchange.ifUsing("editor", function ()
          return StackExchange.using("mathjaxEditing", function ()
          StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
          StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
          );
          );
          , "mathjax-editing");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "559"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          noCode: true, onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpuzzling.stackexchange.com%2fquestions%2f77715%2fstatements-in-java%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          4














          public class Statement() 
          void Riddle1()
          Citizen you = new Citizen();
          Government() g = new Government();
          \g.getService(you)
          \after a code revision, I've determined the following is better:



          Ask not what your country can do for you...




           you.getService(g)



          ...ask what you can do for your country.




           


          System.out.println(listofconcerns.length); \returns 1



          The only thing we have to fear... ("listofconcerns" has just one item)




          System.out.println(listofconcerns[0]); \returns the string "concerns"



          ...is fear itself




          (house has been declared and initialized at some point before this line)
          int quotient = house/house;



          A house divided against itself...




          Boolean b = quotient == 1;
          System.out.println(b); \returns false, with a compiler specific error on the result not holding up



          ...cannot stand (does not hold up)




          int anglevel = anger();
          if(anglevel > threshold1)



          When angry...




           wait(10000);



          count to ten before you speak. (wait() is in milliseconds)




           if( anglevel > threshold2) 



          If very angry...




           wait(90000);



          ...count to one hundred. (we've already counted to 10 at this point, so 10+90)




           



          Theme:




          Things said by dead american presidents: Kennedy, Roosevelt, Lincoln, and Jefferson respectively.







          share|improve this answer






















          • Correct. I suppose there's no way that code puzzles like these will ever be too difficult.
            – Display name
            Dec 23 '18 at 1:42










          • @Displayname Putting them together makes them easier, because once you get one, you get a hint to the others. However, easy doesn't mean bad, I think theme makes it better.
            – deep thought
            Dec 23 '18 at 1:45















          4














          public class Statement() 
          void Riddle1()
          Citizen you = new Citizen();
          Government() g = new Government();
          \g.getService(you)
          \after a code revision, I've determined the following is better:



          Ask not what your country can do for you...




           you.getService(g)



          ...ask what you can do for your country.




           


          System.out.println(listofconcerns.length); \returns 1



          The only thing we have to fear... ("listofconcerns" has just one item)




          System.out.println(listofconcerns[0]); \returns the string "concerns"



          ...is fear itself




          (house has been declared and initialized at some point before this line)
          int quotient = house/house;



          A house divided against itself...




          Boolean b = quotient == 1;
          System.out.println(b); \returns false, with a compiler specific error on the result not holding up



          ...cannot stand (does not hold up)




          int anglevel = anger();
          if(anglevel > threshold1)



          When angry...




           wait(10000);



          count to ten before you speak. (wait() is in milliseconds)




           if( anglevel > threshold2) 



          If very angry...




           wait(90000);



          ...count to one hundred. (we've already counted to 10 at this point, so 10+90)




           



          Theme:




          Things said by dead american presidents: Kennedy, Roosevelt, Lincoln, and Jefferson respectively.







          share|improve this answer






















          • Correct. I suppose there's no way that code puzzles like these will ever be too difficult.
            – Display name
            Dec 23 '18 at 1:42










          • @Displayname Putting them together makes them easier, because once you get one, you get a hint to the others. However, easy doesn't mean bad, I think theme makes it better.
            – deep thought
            Dec 23 '18 at 1:45













          4












          4








          4






          public class Statement() 
          void Riddle1()
          Citizen you = new Citizen();
          Government() g = new Government();
          \g.getService(you)
          \after a code revision, I've determined the following is better:



          Ask not what your country can do for you...




           you.getService(g)



          ...ask what you can do for your country.




           


          System.out.println(listofconcerns.length); \returns 1



          The only thing we have to fear... ("listofconcerns" has just one item)




          System.out.println(listofconcerns[0]); \returns the string "concerns"



          ...is fear itself




          (house has been declared and initialized at some point before this line)
          int quotient = house/house;



          A house divided against itself...




          Boolean b = quotient == 1;
          System.out.println(b); \returns false, with a compiler specific error on the result not holding up



          ...cannot stand (does not hold up)




          int anglevel = anger();
          if(anglevel > threshold1)



          When angry...




           wait(10000);



          count to ten before you speak. (wait() is in milliseconds)




           if( anglevel > threshold2) 



          If very angry...




           wait(90000);



          ...count to one hundred. (we've already counted to 10 at this point, so 10+90)




           



          Theme:




          Things said by dead american presidents: Kennedy, Roosevelt, Lincoln, and Jefferson respectively.







          share|improve this answer














          public class Statement() 
          void Riddle1()
          Citizen you = new Citizen();
          Government() g = new Government();
          \g.getService(you)
          \after a code revision, I've determined the following is better:



          Ask not what your country can do for you...




           you.getService(g)



          ...ask what you can do for your country.




           


          System.out.println(listofconcerns.length); \returns 1



          The only thing we have to fear... ("listofconcerns" has just one item)




          System.out.println(listofconcerns[0]); \returns the string "concerns"



          ...is fear itself




          (house has been declared and initialized at some point before this line)
          int quotient = house/house;



          A house divided against itself...




          Boolean b = quotient == 1;
          System.out.println(b); \returns false, with a compiler specific error on the result not holding up



          ...cannot stand (does not hold up)




          int anglevel = anger();
          if(anglevel > threshold1)



          When angry...




           wait(10000);



          count to ten before you speak. (wait() is in milliseconds)




           if( anglevel > threshold2) 



          If very angry...




           wait(90000);



          ...count to one hundred. (we've already counted to 10 at this point, so 10+90)




           



          Theme:




          Things said by dead american presidents: Kennedy, Roosevelt, Lincoln, and Jefferson respectively.








          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Dec 23 '18 at 15:38

























          answered Dec 23 '18 at 1:41









          deep thought

          2,7971734




          2,7971734











          • Correct. I suppose there's no way that code puzzles like these will ever be too difficult.
            – Display name
            Dec 23 '18 at 1:42










          • @Displayname Putting them together makes them easier, because once you get one, you get a hint to the others. However, easy doesn't mean bad, I think theme makes it better.
            – deep thought
            Dec 23 '18 at 1:45
















          • Correct. I suppose there's no way that code puzzles like these will ever be too difficult.
            – Display name
            Dec 23 '18 at 1:42










          • @Displayname Putting them together makes them easier, because once you get one, you get a hint to the others. However, easy doesn't mean bad, I think theme makes it better.
            – deep thought
            Dec 23 '18 at 1:45















          Correct. I suppose there's no way that code puzzles like these will ever be too difficult.
          – Display name
          Dec 23 '18 at 1:42




          Correct. I suppose there's no way that code puzzles like these will ever be too difficult.
          – Display name
          Dec 23 '18 at 1:42












          @Displayname Putting them together makes them easier, because once you get one, you get a hint to the others. However, easy doesn't mean bad, I think theme makes it better.
          – deep thought
          Dec 23 '18 at 1:45




          @Displayname Putting them together makes them easier, because once you get one, you get a hint to the others. However, easy doesn't mean bad, I think theme makes it better.
          – deep thought
          Dec 23 '18 at 1:45

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Puzzling Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          Use MathJax to format equations. MathJax reference.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpuzzling.stackexchange.com%2fquestions%2f77715%2fstatements-in-java%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown






          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay