Menu

[Solved]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); i++; } }}

Solution:

Expert Answer


Answer to in javascript coding (netbeans) answer: 2). Consider the code below again. What happens if you comment out the line that… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *