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 a method header?
What is difference between adapter class and listener?
Define reflection.
Explain what is Marker interface?
Can we force the garbage collection to run?
Which package is used for pattern matching with regular expressions?
What do you understand by soft reference?
What is meant by oops concept in java?
what do you mean by marker interface in java?
How do you ensure that n threads can access n resources without deadlock?
What is arraylist e in java?
Why declare Main() method as a static in java ?
Can subclass overriding method declare an exception if parent class method doesn't throw an exception?
What do you understand by garbage collection in Java? Can it be forced to run?
Explain spliterator in java8?