Respuesta :

Therefore, while interfaces can be used to indicate the common functionality that will be shared between multiple instances without actually constructing that functionality for them, abstract classes can be used to group and share functionality. Both can, albeit in different ways, assist you in shrinking your code.

Which methods may the child class inherit?

You can use the inherited methods exactly how they are right now. You can override a superclass method by creating a new instance method in the subclass that has the same signature. To conceal it, a new static method with the same signature as the one in the superclass might be written and placed in the subclass.

What real-world instance of abstraction can you give?

A few further examples of abstraction from the real world are as follows: cake baking Abstraction is used when following a recipe to make a cake. In this case, you are merely completing the processes required to make and bake the batter.

To know more about body of class visit;

https://brainly.com/question/19924646

#SPJ4