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 diehardtechy@gmail.com

Wednesday, April 9, 2014

OCJP Practice question #9

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

No comments: