Javascript Coding Netbeans Answer 2 Consider Code Happens Comment Line Increments Progra Q37133422

in javascript coding (netbeans) answer:

2). Consider the code below again. What happens if you commentout the line that increments i? Will the program ever stoplooping?

/** A simple program that prints a loop control variable.*/public class SimpleLoop{ public static void main(String[] args) { int i = 0; int limit = 6; while (i < limit) { System.out.println(“i = ” + i);

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.