Page Stats
Visitor: 290
Object Oriented Programming
Object-oriented programming (OOP) is a programming that is based on the concepts of "objects" that have data fields, and methods. Objects, which are usually instances of classes, are used to interact with one another to design applications and computer programs. C++, Java, C#, Python and PHP are the examples of object-oriented programming languages.
Concepts of Object Oriented Programming
1. Objects: Objects in C# are created from types, just like a variable. The type of an object is known by special name in OOP, its class.
2. Class
3. Abstraction: manages the complexity. When someone works on a computer, not necessary that he should know the working of each and every part of the computer. Even without the hardware knowledge, he can e-mail, type or do other jobs on the computer.
4. Encapsulation: It is the mechanism that binds code and data together
5. Inheritance: It is the process by which one object acquires the properties of another object.
6. Polymorphism: