Hi friends,
Code will compile and run fine , no error will be generated.
The thing is that whenever u dont use brackets then any java keyword like do , while and all others will effect only the very next line,
but here the intersting part is that everyother line is attached with the very next line, thats y it goes fine. (plz correct me if i m wrong)
( One more thing , i m new in this forum with the refernce of my friend who has just done Java certification, i m 24/male and i have worked on oracle but i m very much attracted towards java thats y i have started working on it and i m glad that i have found such a good forum with great helping ppl, i have done course in java in college and some experience of
servlets as well.)
Regards
khurram fakhar