This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Superclass vs. Subclass Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Superclass vs. Subclass" Watch "Superclass vs. Subclass" New topic
Author

Superclass vs. Subclass

Jacob Michaels
Ranch Hand

Joined: Mar 23, 2003
Posts: 35
Hello, I am looking for any links or book referrals for some easy to understand information about Declarations and Access control. To be a little more specific I am having trouble understanding the contrast between superclass and subclasses and all the rules concerning designing an Inheritance Hierarchy, abstract classes, Constructors in a Subclass, and the use of the super().
Thank you for any suggestions
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Hi Jacob,
As relates to Java or general OO theory? If it's the latter I would suggest the old classic Object Orientation as a first read. For the former, my first was Core Java 2 Volume I. I'm sure some of the other ranchers can offer some other suggestions as well.
Also, if you have a specific question relating to any OO topic just post it and we'll try to give you an answer.
Michael Morris


Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
 
 
subject: Superclass vs. Subclass
 
Similar Threads
accessing SuperClass static variable in subclass
static method overriding
abstract methods
Typecasting
Reason for java.lang.ClasscastException