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 / keerthi
It is used prevent creating object of abstract class.
| Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
What is static import in java?
Explain different types of wrapper classes in java?
How do you remove duplicates in java?
Is java programming easy?
When should a function throw an exception?
What is the function of static in java?
What are void pointers?
What do you understand by classes in java?
Are arrays immutable in java?
What is regex used for?
What is the primary benefit of encapsulation?
What java ide should I use?
What is a instance variable in java?
How do you take thread dump in java?
What is the difference between JDBC 1.0 and JDBC 2.0?