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
What do you understand by the bean persistent property?
What is pojo class in java?
What is the difference between applet and application?
When should you use arraylist and when should you use linkedlist?
Explain the difference between map and flatmap stream operation?
Is java call by value?
What is boolean example?
What is early binding and late binding in java?
Can we extend a class with private constructor?
How many bytes is a string java?
Define nashorn in java8.
How do you declare an array that will hold more than 64KB of data?
What is regex used for?
What is the common usage of serialization?
What is the simpletimezone class in java programming?