Statements in Java












2














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





























    2














    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



























      2












      2








      2







      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 4 hours ago

























      asked 4 hours ago









      Display name

      577216




      577216






















          1 Answer
          1






          active

          oldest

          votes


















          2














          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



          Our only fear ("concern") is...




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



          ...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
            4 hours ago










          • @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
            4 hours ago










          • @Displayname If you like code puzzles that are apparently not easy enough try <plug>this</plug>!
            – WAF
            19 mins ago











          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









          2














          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



          Our only fear ("concern") is...




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



          ...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
            4 hours ago










          • @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
            4 hours ago










          • @Displayname If you like code puzzles that are apparently not easy enough try <plug>this</plug>!
            – WAF
            19 mins ago
















          2














          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



          Our only fear ("concern") is...




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



          ...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
            4 hours ago










          • @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
            4 hours ago










          • @Displayname If you like code puzzles that are apparently not easy enough try <plug>this</plug>!
            – WAF
            19 mins ago














          2












          2








          2






          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



          Our only fear ("concern") is...




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



          ...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



          Our only fear ("concern") is...




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



          ...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










          answered 4 hours ago









          deep thought

          2,4361633




          2,4361633












          • Correct. I suppose there's no way that code puzzles like these will ever be too difficult.
            – Display name
            4 hours ago










          • @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
            4 hours ago










          • @Displayname If you like code puzzles that are apparently not easy enough try <plug>this</plug>!
            – WAF
            19 mins ago


















          • Correct. I suppose there's no way that code puzzles like these will ever be too difficult.
            – Display name
            4 hours ago










          • @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
            4 hours ago










          • @Displayname If you like code puzzles that are apparently not easy enough try <plug>this</plug>!
            – WAF
            19 mins ago
















          Correct. I suppose there's no way that code puzzles like these will ever be too difficult.
          – Display name
          4 hours ago




          Correct. I suppose there's no way that code puzzles like these will ever be too difficult.
          – Display name
          4 hours ago












          @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
          4 hours ago




          @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
          4 hours ago












          @Displayname If you like code puzzles that are apparently not easy enough try <plug>this</plug>!
          – WAF
          19 mins ago




          @Displayname If you like code puzzles that are apparently not easy enough try <plug>this</plug>!
          – WAF
          19 mins ago


















          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

          Accessing regular linux commands in Huawei's Dopra Linux

          Can't connect RFCOMM socket: Host is down

          Kernel panic - not syncing: Fatal Exception in Interrupt