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 is data member in java?
What is a method in java?
What is singleton class in ruby?
What is the difference between length and size in java?
Explain the private field modifier?
What happens if an exception is not handled in a program?
Is treeset sorted in java?
Differentiate between a constructor and a method? Can we mark constructors final?
What is the basic concepts of OOPS?
What are the main differences between notify and notifyAll in Java?
What are the properties of thread?
What java is used for?
Can you instantiate the math class?
Explain jdk, jre and jvm?
Is null a value?