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 |
Explain about interrupt() method of thread class ?
What is sortedmap interface?
Explain inheritance in java?
What does s mean in regex?
what value will be return by the read() method once it reaches the end-of-file? a. Throws EOException b. Return null c. Return -1 d. Read method return nothing, because it is void method
Can constructor be synchronized?
What is number data type?
Is main a keyword in java?
what are literals in java?
What is the importance of static variable?
Is there any use of an abstract class which has no methods and no attributes?
can we Connect Applet to Data Base ? with Discriptiom. and also What is Diff. from Applet & Servlet?