Why should I use abstract class?
Answer / Sanjay Kumar Gond
An abstract class in Core Java can be used to define a common set of methods that must be implemented by its subclasses. This can help promote code reusability, encapsulation, and polymorphism. It also allows for more flexibility when designing hierarchies of related classes.
| Is This Answer Correct ? | 0 Yes | 0 No |
what is jdk1.5 features?
What is the independent variable in an experiment?
Can any one say how will sort map objects in java?
What is the purpose of premetive data types in java?
List out benefits of object oriented programming language?
What is collection sort in java?
what is difference between Exception and Error?
Is integer passed by reference in java?
what is java bean?where can we use it?
Should database connections be singleton?
Give some features of interface?
Explain importance of throws keyword in java?