Tech Me More

To quench our thirst of sharing knowledge about our day to day experience & solution to techincal problems we face in our projects.

Advertise with us !
Send us an email at

Thursday, April 10, 2014

OCJP Practice question #12

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

No comments: