Can i have abstract class with no abstract methods?
Answer Posted / darkeye
I certainly agree with Manish Kushwaha You can have abstract class without any abstract method but if you have a single abstract method you are suppose to make that class abstract
This is what Sun says :
" An abstract class is a class that is declared abstract—it may or may not include abstract methods" (http://java.sun.com/docs/books/tutorial/java/IandI/abstract.html)
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is volatile data type?
What package is math in java?
What is constructor in java ?
Does java list allow null?
What does singleton mean in java?
How many bits is a string in java?
Is empty set an element of empty set?
What is public static void main?
What do you mean by order of precedence and associativity?
Is string a class in java?
What is the difference between logical data independence and physical data independence?
Explain about join() method?
Can you declare an interface method static?
What is the difference between integer parseint and integer valueof?
How do you use compareto?