Java Coder
What is Abstract classes in Java?
1 Answer(s)      2 years and 2 months ago
Posted in : Java Beginners

What is Abstrack class in Java programming language?

Please suggest any reference for finding examples.

thanks,

Advertisement
View Answers

March 26, 2013 at 12:31 PM


Hi,

In Java programming language we are used the Java Abstract class to declare some common characteristics of subclasses.This Abstract class cann't be instantiated (we cann't be create instances of an Abstract class). The main purpose of using Abstract class as to function as a base for subclasses. That's why the Abstract class in Java programming language is used to provide a template or design for concrete subclasses down the inheritance tree.

For details visit Abstract class in Java