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 stringwriter?
What is meant by class and object in java?
Mention some features of java?
Explain when classnotfoundexception will be raised ?
How do you change an int to a string?
How does the garbage collector works in java?
Can java run on google chrome?
Why unicode is important?
What are voids?
What is the difference between actual and formal parameters?
How do I stop concurrentmodificationexception?
When should the method invokelater() be used?
What happens if we don’t override run method ?
What is predicate in java?
What is the main use of generics in java?