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
Why javac is not recognized?
What is ternary operator? Give an example.
Explain about java sdk?
What modifiers may be used with an inner class that is a member of an outer class in java programming?
What is t in generics in java?
What is valid keyword in java?
Can you create an object of an abstract class?
What is function declaration?
Explain different ways of creating a thread?
Why is singleton instance static?
What is meant by binding in rmi?
Can we use synchronized block for primitives?
What does exp mean in math?
Explain about interrupt() method of thread class ?
Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?