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

How are multiple inheritances done in Java?

0 Answers   Atos Origin,


how cani read a command line argument?(usingfile object).

3 Answers  


What is a singleton class? Give a practical example of its usage.

0 Answers  


What is the significance of listiterator?

0 Answers  


How many types of classes are there in java?

0 Answers  






What is persistence ?

2 Answers  


When object is created and destroyed?

0 Answers  


where exactly collections are usefull in realtime

2 Answers  


What is == in java?

0 Answers  


Is string an object?

0 Answers  


What is java algorithm?

0 Answers  


What are the two types of streams offered by java 8?

0 Answers  


Categories