0

Why the Ans is 1 ...(1<0) false statement...then also loop is runs for once..

12/6/2016 7:20:19 PM

Shivam Parihar

1 Answer

New Answer

0

public class Program { public static void main(String[] args) { int x = 1; while(x < 0) { System.out.println("Java Roks!"); x++; } } } // No output. Check you code again or use the above code and see yourself.....Your question is wrong