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 the major advantage of external iteration over internal iteration?
What is a pattern what is an anti pattern?
What is array class in java?
Can arraylist contain null values?
How do you define a method?
What is the base class of all exception classes?
Which class cannot be a subclass in java?
How to read and write image from a file ?
Can we create object of static class?
What classes of exceptions may be thrown by a throw statement?
What is multithreading and its advantages?
What is a parameter used for?
How do you read and print a string in java?
What is the purpose of using the java bean?
Can You Have Virtual Functions In Java?