srinivas reddy
Why Abstract Class?
1 Answer(s)      2 years and 6 months ago
Posted in : Java Beginners

What is the use of Abstract Class if it has Zero Abstract methods.

Advertisement
View Answers

January 4, 2013 at 10:30 AM


Hi Srinivas,

 Generally in two situations we are declaring a class as abstract.
  1. we have not interested any one to create the object to our class directly.
  2. if the class contain abstract mehtods.