Explain about abstract classes in java?



Explain about abstract classes in java?..

Answer / Rajat Kumar Tyagi

Abstract classes are a type of class that cannot be instantiated directly. They can contain both abstract and concrete methods. Abstract methods must be overridden by subclasses, whereas concrete methods can be called directly. Abstract classes provide a base structure for a family of related classes.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

How to declare an arraylist in java?

1 Answers  


What is the difference between array list and vector in java?

1 Answers  


What are predefined functions?

1 Answers  


Can we execute a program without main?

1 Answers  


What do the thread?class methods run() and start() do?

1 Answers  


What is mean by UML? what is the use? where we are using?

1 Answers   Eka Software,


how to open and edit XML file in Weblogic???

1 Answers   Symphony,


what is the life cycle of jsp?

3 Answers   Photon,


what is bmg file and how to create that files?what will it contailn?

1 Answers   HCL, Probe Services,


What is the vector class in java programming?

1 Answers  


What is public static void main?

1 Answers  


Can an integer be null java?

1 Answers  


Categories