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 |
What is bytecode verifier?
What do you understand by garbage collection in Java? Can it be forced to run?
What do you understand by the term string pool?
What is the purpose of garbage collection in java? When is it used?
What is the code inside the public void actionPerformed(ActionEvent ae) override method in Applet [ Condition:- you have one TextField and One Button , you have to enter any color name inside the TextField, when you click on Button Your background will change according to your input color name]
How is string immutable in java?
what is the use of custom tags? with example?
What does %d do in java?
How do you define a set in java?
Hi i am creating desktop application in that i want calling to mobile number. i have java telephone api (JTAPI) but i dont understand how it configure & use plese help me
What does flagged out mean?
How to sort an array in java without using sort method?