1.

In the given program, how many lines of output will be produced?

Answer» The loops use the array sizes (length). It produces 11 lines of output as given below. D:\Java>javac Test.java D:\Java>java Test size = 1 size = 2 size = 3 size = 4 size = 2 size = 3 size = 3 size = 4 size = 5 size = 6 size = 7 Therefore, 11 is the answer.


Discussion

No Comment Found