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 is java so important?
What is final?
Is it compulsory for a try block to be followed by a catch block in java for exception handling?
What is default exception handling in java?
What is high level language in computer?
Can we overload the main() method?
worst case complexities of Quick sort and Merge sort.
Compare Mutex and Semaphore in java.
Is an integer an object?
Explain about object oriented programming and its features?
What is the difference between preemptive scheduling and time slicing?
Explain about fail fast iterators in java?
What is a ternary operator in java?
What do you mean by inner class in java?
What is difference between public static and void?