what is the use of abstract class?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / amod
1:Abstract class is a class which has many abstract methods
2:Abstract class cannot be instantiated
3rd ly the abstrat methods r blank
the child class use the or it extend the abstract class
for its use
the child contains the abstract methods
| Is This Answer Correct ? | 0 Yes | 4 No |
Answer / malay
Abstract class should must used for only implemented the
body in its Subclass and also implemented the astract
methods in ts subclasses.
| Is This Answer Correct ? | 1 Yes | 6 No |
What is role of void keyword in declaring functions?
What is a nested class?
What one should take care of, while serializing the object?
What is diffrance between FINALIZE() & FINALLY ?
what is jms? features of jms
Define jre i.e. Java runtime environment?
Which containers use a FlowLayout as their default layout?
Why cant we define System.out.println() inside a class directly?
What is the difference between static and non-static variables?
What data type is string java?
What is a protected class in java?
Explain the importance of throws keyword in java?