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
What are synchronized blocks in java?
What is array in java?
What is remote method invocation (rmi)?
Can we create a class inside a class in java?
How can an exception be thrown manually by a programmer?
What is java util concurrentmodificationexception?
How does compareto method work?
Explain the difference between string, stringbuffer and stringbuilder in java?
What is final, finally, finalize?
I want to persist data of objects for later use. What is the best approach to do so?
Difference between Linked list and Queue?
What is difference between core java and java ee?
Which language is java?
What is nextint java?
What is boolean example?