" System.out.print("column number " + " test abcd "); " which can get printed if you compile however after the while loop has been finished then why does the second print out statement not work which is
System.out.print("column number " + colNumber + " test efgh "); ,
Are you sure the the
while
loop has been finished running?
In your looping condition, you put:
while( number == number )
Ares those
number
s are same things or different? If they are the same, is there any way so that those two
number
s will different while the loop continues? If not, how the loop will break?
Though I am asking all the questions instead of answering, I think you can find the answer by yourself.
- DP