File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ # OOP--Object-Oriented-Programming-_ EXPLANATION  
2+ I explained and demonstrated object-oriented programming with examples.
3+ 
4+ ## Class  
5+ In object-oriented programming, a class is an extensible program-code-template for creating objects, providing initial values for state 
6+ (member variables) and implementations of behavior.
7+ 
8+ ## Constructor  
9+ In class-based object-oriented programming, a constructor (abbreviation: ctor) is a special type of subroutine called to create an object.
10+ It prepares the new object for use, often accepting arguments that the constructor uses to set required member variables.
11+ 
12+ ## Static Class  
13+ A static class in C# is a class that cannot be instantiated. A static class can only contain static data members including static methods, 
14+ static constructors, and static properties. In C#, a static class is a class that cannot be instantiated.
15+ 
16+ ## Encapsulation  
17+ In object-oriented programming (OOP), encapsulation refers to the bundling of data with the methods that operate on that data, or the 
18+ restricting of direct access to some of an object's components
19+ 
20+ ## Inheritance  
21+ Inheritance is the procedure in which one class inherits the attributes and methods of another class. The class whose properties and 
22+ methods are inherited is known as the Parent class.
23+ 
24+ ## Interface   
25+ An interface is a programming structure/syntax that allows the computer to enforce certain properties on an object (class).
26+ 
27+ ## Abstract  
28+ Its main goal is to handle complexity by hiding unnecessary details from the user. That enables the user to implement more 
29+ complex logic on top of the provided abstraction without understanding or even thinking about all the hidden complexity.
                         You can’t perform that action at this time. 
           
                  
0 commit comments