Styrow.dev
Question 179 of 247
Java Topic: General medium

When Abstract methods are used?

Question

When Abstract methods are used?

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.