Can we have a abstract class withought any method? What is a
purspose of this?
Answers were Sorted based on User's Feedback
Answer / malli
Yes,we can able to keep abstract class without any any methods.
purpose: Abstract class support for all unimplemented
methods (or) all concrete methods (or) some concrete methods
and abstract methods. so based on requirement we can use
abstract class.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sneha
Ya we can have an abstract class withought any method...It helps to prevent it from being instantiated...
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / sourav kumar verma
it may or may not include abstract methods. Abstract classes
cannot be instantiated, but they can be subclassed.
| Is This Answer Correct ? | 0 Yes | 1 No |
Where is jre installed?
is it possible to add a object in a HASHMAP
What is unicode?
What is parsing a sentence?
difference throws and throw in java
What is jagged array in java?
What is the difference between variable & constant?
what is the difference between process and thread? : Java thread
Can I learn java without any programming experience?
Hi buddy, well i got that there is always a default constructor with abstract class. OK. But why not with interface? Thanks in advance.
Explain the differences between public, private, protected and static?
how would you implement a thread pool? : Java thread