java - Concrete method in abstract class -


i understand abstract class may contain abstract , concrete methods (i.e body implementation). question are: can subclasses inherit/override concrete methods abstract superclass. , secondly have inherit concrete methods same way inherit abstract methods?

can subclasses inherit/override concrete methods abstract superclass

if not final, yes, can overriden.

and secondly have inherit concrete methods same way inherit abstract methods?

no, need inherit abstract ones, otherwise abstract method wouldn't make sense.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -