Thread: Inheritance
View Single Post
  #1 (permalink)  
Old 12-07-2007, 02:10 PM
mew mew is offline
Member
 
Join Date: Nov 2007
Posts: 70
mew is on a distinguished road
Inheritance
I have the following situation.

Class named ClassA extends from class named Master and will inherit all the methods of Master class. There are few methods, which should be available in child classes like in ClassA. How can I manage this?

Code:
public class ClassA extends Master{ … }
Can inheritance be private?
Reply With Quote
Sponsored Links