When Abstract methods are used?

Java Programming Language >   Fundamentals of Object-Oriented Programming >   Object-Oriented Paradigm  

Short Question

571


Answer:

If you want a class to contain a particular method but you want the actual implementation of that method to be determined by child classes, you can declare the method in the parent class as abstract.


This Particular section is dedicated to Question & Answer only. If you want learn more about Java Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.