What is an abstract class?

Answer Posted / prasviji143@gmail.com

abstract class is an incomplete class which contains incomplete and complete methods.

incomplete methods contains only the declaration and ended with semicolon (; )

To access the incomplete methods we need create a concrete class with the help of extends keyword.

In concrete class there will be method definitions for incomplete methods.

abstract class is known as superclass and concrete class as subclass.


In concrete class we can create the object and we can call the incomplete methods and execute the program.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is compareto () in java?

540


Explain the public class modifier?

507


What are the two ways of implementing multi-threading in java?

817


Does chrome use java?

521


How can we find the sum of two linked lists using stack in java?

574






What is static keyword in java?

554


Differentiate storage classes on the basis of their scope?

674


What is package protected in java?

528


What is not object oriented programming?

509


Where are global variables stored?

509


Difference between vector and arraylist.

585


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

1397


How do you reverse a string in java?

584


Is set ordered in java?

573


How can we achieve thread safety in java?

689