Is it compulsory to have atleast one abstract method in
abstract class?
Answer Posted / chellammal
No. It is not compulsory that an abstract class
should have atleast one abstract method.
One can declare a class as abstract still with full
implementation of methods. This avoids the instantiation
the class
| Is This Answer Correct ? | 34 Yes | 7 No |
Post New Answer View All Answers
What do you mean by access modifier?
How will you serialize a singleton class without violating singleton pattern?
Which types of exceptions are caught at compile time?
What is ++ a in java?
What are the different ways of implementing thread? Which one is more advantageous?
What are locale settings?
What are the advantages and disadvantages of reference counting in garbage collection?
Why does java not allow multiple public classes in a java file ?
How many threads can I run java?
What Is Query Throttling in java?
What is heterogeneous in java?
Which is faster set or list in java?
Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.
What is a nested structure?
Why can't you declare a class as protected?