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 is meant by stack and queue?
How many ways can we create singleton class?
What are mutable classes?
Explain about transient variables in java?
What are instance variables?
Which sorting is best in java?
How the metacharacters are different from the ordinary characters?
What are the benefits of operations in java?
Explain what is Marker interface?
What is passing parameters in java?
How do you access command-line arguments within the code?
Which method cannot be overridden in java?
What is the difference between throw and throws in java?
What is meant by object?
What is thread count in java?