Wednesday, April 9, 2014

OCJP Practice question #9

4:54 PM

What will be the output of the following 

Java Program ?


Answer :
  • option 4 is correct because System.out.print(); requires argument to pass. 
  • print and println methods are defined in PrintStream Class.

More Question here : OCJP

0 comments :

Post a Comment

 

© 2014 DieHardTechy . All rights resevered. Designed by Diehardtechy