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 a module function?
Can an arraylist be empty?
Can we have multiple classes in a single file?
What is return type in java?
What is string in java?
Can we synchronize static methods in java?
What is the purpose of main function in java?
List down the methods and interfaces of collection class in java.
How do I get 64 bit java?
Why lambda expression is used in java?
Which package is imported by default?
What does split function do in java?
What is null statement?
Why is string buffer better than string ?
What is an example of a keyword?