Can i have abstract class with no abstract methods?
Answer Posted / manoj
Yes, we can have a abstract class without a abstract method .
But in earlier version like jdk 1.1,it was necessary to have at least one abstract method inside abstract class then latter this restriction was removed by other versions.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is meant by overloading?
Can a variable be local and static at the same time?
What is the exception hierarchy in java?
What is parseint?
What is the difference between throw and throws keywords?
What is operator overloading. Is it is supported in java?
What are the difference between string, string builder, and string buffer in java?
Can we use synchronized block for primitives?
What are the types of relation?
when you will synchronize a piece of your code? : Java thread
how to handle exceptions in ejb?
Can we declare main () method as non static?
Which is easier netbeans or eclipse?
What are synchronized methods and synchronized statements in java programming?
What is difference overloading and overriding?