Home Answers Viewqa Java-Beginners Why Abstract Class?

 
 


srinivas reddy
Why Abstract Class?
1 Answer(s)      5 months and 4 days ago
Posted in : Java Beginners

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

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.









Related Pages:

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.