What is the output of the following Java code?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • johnny lee
    New Member
    • Dec 2011
    • 1

    What is the output of the following Java code?

    What is the output of the following Java code?

    count = 1
    y = 100;

    while (count < 100)
    {
    y = y - 1;
    count++;
    }
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    There is no output.

    Comment

    • kuldeeprsks
      New Member
      • Dec 2011
      • 22

      #3
      First you write the output line.

      Comment

      Working...