Pages

Friday, October 15, 2010

Brief Introduction to Object Oriented Programming Fundamentals

Main Fundamental concepts of Object Oriented Programming are

1. Data Abstraction
2. Encapsulation
3. Polymorphism
4. Inheritance

1. Data Abstraction - Process of Grouping together fields and methods and defining classes.

2.Data Encapsulation - Hiding the implementation details. Provides a barrier to prevent misuse.

3.Inheritance - Receiving responsibility of parents.

4. Polymorphism - Ability to substitute a one type for another type at runtime. It's also called dynamic binding and late binding. Overriding is directly related to this.

No comments: