Java Coder
Can you create an object of an abstract class?
1 Answer(s)      2 years and 5 months ago
Posted in : Java Beginners

Hi,

Can you create an object of an abstract class?

Thanks,

Advertisement
View Answers

April 13, 2013 at 6:46 PM


Hi friend,

No, We can not create an object of Abstract classes directly. Abstract classes can not be instantiated directly however, in subclasses abstract class can be instantiated using 'new' keyword. To read more please go through the following link

http://roseindia.net/java/example/java/core/java-abstract-class-example.shtml