What isan abstract class and when do you use it?



What isan abstract class and when do you use it?..

Answer / hrpynux@gmail.com

An abstract class allows you to create functionality that subclasses can implement or override. An interface only allows you to define functionality, not implement it. And whereas a class can extend only one abstract class, it can take advantage of multiple interfaces.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Can we have two main methods in a java class?

0 Answers  


Enlist few advantages of inheritance?

0 Answers  


What is reflexive association?

1 Answers   Infogain,


How to do a true java ping from windows?

0 Answers  


What are the steps to do connection pooling in weblogic?

1 Answers   TCS,






What is the difference between Stream Reader and Stream Writer?

4 Answers  


How java is platform independent?

41 Answers   College School Exams Tests, Infosys, TCS,


Is null keyword in java?

0 Answers  


What is hashmap and map?

0 Answers  


What is the full name of java?

0 Answers  


What is string data?

0 Answers  


what is j2se

3 Answers  


Categories