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
What is boolean in java?
Difference between this() and super() ?
What is meant by data hiding/encapsulation?
Does java trim remove newline?
Explain thread in java?
What does the string method compareto () do?
What is the difference between checked exception and unchecked exception?
What is proper subset?
What does sizeof return?
Why is multiple inheritance not supported in java?
What is parameters example?
What is difference between static class and singleton pattern?
What is tcp ip in java?
Can we override protected method in java?
Explain java code for recursive solution's base case?