Please enable JavaScript.
Coggle requires JavaScript to display documents.
Oops - Coggle Diagram
Oops
Abstraction
-
Making a member of class non-public is called data-hiding or Making the things private instead of public
-
Polymorphism
Overloading
When 2 methods having same name and same list of parameter with same order within the same class we call that method overloading
-
-
Overriding
Method overriding when base class and derived class have same method name along with same number of parameters in same order
Constructer overriding with base keyword of Same Number of parameter in derived class as well as base class
-
-
-
Inheritance
C# support 4 types of direct inheritance i.e Single, MultiLevel, Hierarchy , 4th one using interfaces. If it was allowed it could lead to Diamond problem.
When a derived class object created. First base class object initialized or you can say base class constructor called. Then derived class
-
-
-
-