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
Why are global variables used?
Where are the card layouts used?
What is a singleton puppy?
Name few "optional" classes introduced with java 8 ?
What all methods are used to prevent thread execution ?
What are java threads?
How do you sort data in java?
Difference between association, composition and aggregation?
take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).
Can a main method be overloaded?
Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?
What do the thread?class methods run() and start() do?
How do you sing an Applet ?
What is a java string?
Why are the methods of the math class static?