Object Oriented Programming using C#

(backadmin) #1
Object Oriented Programming using C#
Inheritance and Method Overriding

A superclass can be declared abstract to prevent it being instantiated (i.e. objects created).

We can ‘override’ inherited methods so a subclass implements an operation differently from its superclass.

In C# all classes descend from the base class ‘Object’

‘Object’ defines some universal operations which can usefully be overriden in our own classes.

what‘s missing in this equation?


maeRsK inteRnationaL teChnoLogY & sCienCe PRogRamme

You could be one of our future talents


Are you about to graduate as an engineer or geoscientist? Or have you already graduated?
If so, there may be an exciting future for you with A.P. Moller - Maersk.

http://www.maersk.com/mitas

Please click the advert

Free download pdf