Java Question About for-Loop
What will be printed out when this code is compiled and run: |
for (int i = 0; i <= 3;) { System.out.println("i = " + i); } // www.javadb.com |
A. i = 0 i = 1 i = 2 i = 3 B. i = 0 infinitely C. The code does not run. D. The code does not compile. |
Bookmark:
Search for code examples on this site
