what is the use of abstract class?
Answer Posted / rakesh
Java Abstract classes are used to declare common
characteristics of subclasses. An abstract class cannot be
instantiated. It can only be used as a superclass for other
classes that extend the abstract class. Abstract classes
are declared with the abstract keyword. Abstract classes
are used to provide a template or design for concrete
subclasses down the inheritance tree
Is This Answer Correct ? | 18 Yes | 0 No |
Post New Answer View All Answers
Explain purpose of sleep() method in java?
What is toarray method in java?
What is independent and dependent variables in research?
What is intern method in java?
What is the meaning of flag day?
what is session in java?
What are the different types of data structures in java?
Explain the importance of throwable class and its methods?
What about interthread communication and how it takes place in java?
What is an object in java?
When does a class need a virtual destructor?
Explain the features of interfaces in java?
What is an inner class in java?
Can long be null in java?
explain what is transient variable in java?