Is it compulsory to have atleast one abstract method in
abstract class?
Answer Posted / saurabh m. chande
It is absolutely not necessary to have at-least 1 method as an abstract method in a class which is defined as an abstract.
But it is equally necessary to declare the class as an abstract class if at-least 1 method within that class is declared as abstract method.
Abstract class contains either the method declaration only or complete method implementation.
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
How to obtain a performance profile of java program
What is the char data type?
Is it compulsory for a try block to be followed by a catch block in java for exception handling?
What is a buffer in java?
Which variables are stored in heap?
Explain the usage of this with constructors?
What methods are used to get and set the text label displayed by a button object?
Why object class is super class for every class in java?
Does isempty check for null?
How will you calculate the depth of a binary tree if the tree contains 15 nodes?
What is bufferedreader in java?
How does multithreading take place on a computer with a single cpu in java programming?
Why you should not use singleton?
What are static methods?
What is java life cycle?