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
State the difference between creating string as new () and literal.
When arithmeticexception is thrown?
What is the disadvantage of synchronization?
What does substring mean?
What are daemon Threads in java?
What do you mean by multithreaded program?
Is java a pure object oriented language?
What is the relationship between class and object?
What is the nested interface?
Why put method is idempotent?
why using interface interface ?
Explain about interthread communication and how it takes place in java?
What is abstract class constructor called?
what happens when a thread cannot acquire a lock on an object? : Java thread
Explain about map interface in java?