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 |
Write a program based on Java script program.
What is parsing a string?
Why stringbuffer is faster than string?
What are the Object and Class that classes used for?
What is meant by null and void?
What is the differenc between Enemuration interface and iterator interface according to accessing?
What is the basic of java?
Is 'null' a keyword?
Explain the difference between serializable and externalizable in java?
What is data structure in java?
Does java map allow duplicates?
What is immutable in java?