Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners Why Abstract Class?

Have Programming Question? Ask it here!
 
 
 


srinivas reddy
Why Abstract Class?
1 Answer(s)      a year and 8 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.


Related Tutorials/Questions & Answers:
Advertisements
 

 

 

DMCA.com