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?
public class ClassA extends Master{
…
}
Can inheritance be private?