Can i have abstract class with no abstract methods?
Answer Posted / mandeswara rao
yes, we can.To prevent a class from directly creating
objects, better declare them as abstract classes.
Eg: HttpServlet
Is This Answer Correct ? | 37 Yes | 2 No |
Post New Answer View All Answers
Explain wait(), notify() and notifyall() methods of object class ?
What access modifiers can be used for methods?
what is the constructor and how many types of constructors are used in java?
Can you declare a private method as static?
Is map ordered in java?
What is Applet Stub Interface ?
What is comparator in java?
How concurrent hashmap works?
When will you define a method as static?
What is substring 1 in java?
How to sort an unsorted array in java?
Why do we need data structure in java?
why java uses class level type casting ?
What is getclass () getname () in java?
What is difference between ++ I and I ++ in java?