“Is a” vs “Has a” relationship Post author:admin Post published:April 22, 2014 Post category:Inheritance Post comments:0 Comments Methods and variables defined in a subclasses are only available inside the subclass and it’s subclasses A subclass becomes the superclass for its subclasses Important: A subclass has NO ACCESS to private instance variables of it’s superclass. Tags: has a, inheritance, is a, subclass, superclass Read more articles Previous PostSimple inheritance example Next PostMethod Overriding You Might Also Like Inheritence and overriding November 21, 2011 Simple inheritance example April 22, 2014 Leave a Reply Cancel replyCommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) Save my name, email, and website in this browser for the next time I comment.