There can be a abstract class without abstract methods, but
what is the need to declare a class abstract if it doesn't
contain abstract methods?
Answer Posted / zartab
An abstract class when declared, any method declared inside it becomes implicitly abstract and hence any class extending it have to provide deferred implementation.
| Is This Answer Correct ? | 2 Yes | 14 No |
Post New Answer View All Answers
If I only change the return type, does the method become overloaded?
How do you override a private method in java?
List the different types of classloaders in java.
Distinguish between a predicate and a function?
what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread
What is the use of object and class classes?
What are java packages?
what are Hostile Applets?
What is difference between word and integer?
How to implement an arraylist in java?
Can we use both this () and super () in a constructor?
Can we execute a program without main?
What are the types of methodology?
What is java oops?
Explain the importance of throwable class and its methods?