While going through the java language programming you have learned so many times the word abstract. In java programming language the word abstract is used with methods and classes.
An abstract method one that have the empty implementation. All the methods in any interface are abstract by default. Abstract method provides the standardization for the " name and signature" of any method. One can extend and implement to these methods in their own classes according to the requirements.
In java programming language, abstract classes are those that works only as the parent class or the base class. Subclasses are derived to implement the methods inherited from the abstract class (base class). Abstract classes are not instantiated directly. First extend the base class and then instantiate (create objects). Abstract classes are generic in nature and implement to those methods that are used commonly by the subclasses with common implementation. Abstract classes .
Ask Questions? Discuss: Abstract class,Abstract methods and classes
Post your Comment
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.