aspose file tools*
The moose likes Beginning Java and the fly likes Inheritance Query Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Inheritance Query" Watch "Inheritance Query" New topic
Author

Inheritance Query

Aum Tao
Ranch Hand

Joined: Feb 14, 2006
Posts: 210


Now, I would like to know what you think about the above code, and whether which abc() will get called, and how? as I am finding it hard to understand this code if the over ridden method is declared private.


SCJP 1.4 85%
Jeff Albertson
Ranch Hand

Joined: Sep 16, 2005
Posts: 1780
Why not put some System.out.println() statements in those methods? Or do you prefer the Zen approach?


There is no emoticon for what I am feeling!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Inheritance Query