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 thread scheduler schedule the task?
How to create an interface?
Explain the features of interfaces in java?
How do you convert int to char in java?
What is byte [] in java?
What is a buffer in computer?
What does 3 dots mean in java?
what is the difference between process and thread? : Java thread
How are variables stored in memory?
What is a variable analysis?
What are drawbacks of singleton class?
What is java thread dump, how can we get java thread dump of a program?
What is the main advantage of passing argument by reference?
What are static blocks and static initalizers in java ?
Why is the main method declared static?