This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Need explanation in the Output Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Need explanation in the Output" Watch "Need explanation in the Output" New topic

Need explanation in the Output

ayush raj
Ranch Hand

Joined: Jan 15, 2012
Posts: 60

Output is : Sub1 2
How ?
John Jai

Joined: May 31, 2011
Posts: 1776
Please see related threads -

Please ask if you are still not clear.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Need explanation in the Output
Similar Threads
Question from Exam lab practice Exam 1 about polymorphism
examlab mockup 1 question
Question about System.out.print behavior
what is this??? I m confused
strange behavior of overridden call