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
Why java applets are more useful for intranets as compared to internet?
Can we use different return types for methods when overridden?
Is intellij better than eclipse?
Write a program based on Java script program.
Do you know how to reverse string in java?
What is nullpointerexception?
What are inner classes or non static nested classes in java?
What is the purpose of the runtime class in java programming?
What do you mean by ordered and sorted in collections in java?
What is the purpose of format function?
Explain about the performance aspects of core java?
Why is serialization required?
Which class cannot be a subclass in java?
What is generic type?
Explain the importance of join() method in thread class?