Please enable JavaScript.
Coggle requires JavaScript to display documents.
C# OOP (3 pillars of OOP (encapsulation (object's ability to hide data…
C# OOP
3 pillars of OOP
-
inheritance
allows you to define a base class that provides specific functionality (data and behaviour) and to define derived classes that either inherit or override that functionality.
-
-
abstract modifier
-
indicates that a class is intended only to be a base class of other classes, not instantiated on its own
-
interface
contains no implementation details, pure abstraction
virtual modifier
used to modify a method, property, indexer, or event declaration and allow for it to be overridden in a derived class