Page 1 of 1

About Question enthuware.ocajp.i.v8.2.1419 :

Posted: Thu Mar 24, 2016 12:53 am
by Sergio
classes are able to inherit functionality from other classes. ???
When a class inherits a method is not a functionality?

Re: About Question enthuware.ocajp.i.v8.2.1419 :

Posted: Thu Mar 24, 2016 9:42 am
by admin
Sergio wrote:
classes are able to inherit functionality from other classes. ???
When a class inherits a method is not a functionality?
When a class inherits a method it does inherit functionality. Not sure what you your point though. Inheritance has nothing to do with encapsulation.
-Paul.