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 difference between final, finally and finalize?

3 Answers   Cognizant,


What is difference between calling start() and run() method of thread?

0 Answers  


How many inner classes can a class have?

0 Answers  


What are the 6 functions?

0 Answers  


How can we run a java program without making any object?

0 Answers  






Can we have return statement in finally clause? What will happen?

0 Answers  


What are the advantages of encapsulation in java?

0 Answers  


What is the tradeoff between using an unordered array versus an ordered array?

0 Answers  


Can java inner class be static?

0 Answers  


Why does it take so much time to access an applet having swing components the first time?

0 Answers  


What is the USE of Null interfaces ??...if thers nothing inside these interfaces how are they used and WHy are they used ???? No 1 has given a proper description yet

1 Answers  


Which list does not allow duplicates in java?

0 Answers  


Categories