what is the use of abstract class?

Answers were Sorted based on User's Feedback



what is the use of abstract class?..

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

what is the use of abstract class?..

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

what is the use of abstract class?..

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

Post New Answer

More Core Java Interview Questions

Explain about interrupt() method of thread class ?

0 Answers  


What is sortedmap interface?

0 Answers  


Explain inheritance in java?

0 Answers  


What does s mean in regex?

0 Answers  


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

1 Answers  






Can constructor be synchronized?

0 Answers  


What is number data type?

0 Answers  


Is main a keyword in java?

0 Answers  


what are literals in java?

2 Answers  


What is the importance of static variable?

0 Answers  


Is there any use of an abstract class which has no methods and no attributes?

1 Answers   Wipro,


can we Connect Applet to Data Base ? with Discriptiom. and also What is Diff. from Applet & Servlet?

1 Answers   Systematix,


Categories