Thursday, April 10, 2014

OCJP Practice question #12

2:25 PM

What will be the output of the following Java Program ?


Answer :

Choice e is correct.

false inside for loop makes System.out.println(""+s); statement unreachable. 

Compile time error is the correct answer !

More Question here : OCJP

0 comments :

Post a Comment

 

© 2014 DieHardTechy . All rights resevered. Designed by Diehardtechy