Hi krishna, As far as I know the abstract methods should not be declared private because however some class is gonna subclass it and should be implementing it.But ,the variables can be declared private. CORRECT ME IF I AM WRONG.
if abstract method has private method ,what is the use of that method
If abstract class has private methods, other non abstract methods or public methods can still call them. This is similar to having private constructors.
For the sake of the implementation of non abstract methods in an abstract class.
Let's say you have your abstract class:
You can subclass this class and use iDoSomethingUsefulThatYouInherit() at will, while for it's implementation you have used private members. [ July 30, 2008: Message edited by: Ronald Schild ]