ContactUs :

Please send your Questions & Answers or Feedback to "mohan@javabook.org"

What is an abstract class?

Abstract classes are used in java to create a class with some default method implementation for subclasses. An abstract class can have abstract method without body and it can have methods with implementation also.

abstract keyword is used to create a abstract class. Abstract classes can’t be instantiated and mostly used to provide base for sub-classes to extend and implement the abstract methods and override or use the implemented methods in abstract class.
Related Posts Plugin for WordPress, Blogger...
Flag Counter