+ 1
How can the subclass override a concrete method of the superclass and declare it as abstract?
Because we know abstract subclass can't implement or override an abstract method, i mean if we declare it as abstract .
2 Respuestas
+ 1
Is this what you are looking for?
https://code.sololearn.com/cMMVwTvxs8X9/?ref=app
0
Abstract class: is a restricted class that cannot be used to create objects (to access it, it must be inherited from another class).
Abstract method: can only be used in an abstract class, and it does not have a body. The body is provided by the subclass (inherited from).