Basic OOP Concepts
OOP stands for Object Oriented Programming. When you follow a degree programme in IT you should get a very good understand about OOP concepts.This is mainly based with objects and classes. We can define a thing as an object which gains a space from the nature .blueprint of individual objects called as classes.
I would like to give a brief explanation on each of these.
- Encapsulation - This is the concept of information hiding. we use access keywords when declaring variables like private,public and protected.So this is much needed for data secuirity
- Abstraction - This is the concept of removing unnessasary characteristics and take only essitial once relative to the perspective of the viewer.
- Polomorphism- One object can have many forms.
- Inheritence - Parent child concept . When we initialize a parent class like Person , It can derived by child classes like supplires , employees likewise.
0 Comments