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 |
how we can create packages in java?
How many bits is a string in java?
What is a nullable field?
Explain about static imports in java?
Explain when noclassdeffounderror will be raised ?
What are java packages?
Can a class have multiple subclasses?
What is the is a and has a relation ship in oops concept in java?
What is the default value of float and double datatype in java?
What happens when the main() isn't declared as static?
If I have 1000 objects and my requirement is to sort them quickly, then which collection would you recommend and why?
How does synchronized modifier work?