Two Laptop Bag
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


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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Inheritance Query
 
It's not a secret anymore!