Sunday, January 22, 2017

Features of Object Oriented Programming


In Object Oriented Programming (OOP), more emphasis is given to the data rather than functions. In OOPs, Data is encapsulated with the associated functions that operate on it. That gives rise to a concept called Data Encapsulation. In OOPs, the real-life problem can be decomposed into a number of entities called Objects and then data and functions built around these objects.

What is an Object?

Objects are the physical and conceptual things that found in the universe. Hardware, Software, documents, human beings and even concepts are all examples of objects. Every object will have data structures called attributes and behavior called operation. Each object will have its own identity through its attributes and operations are same; the objects will never become equal. For instance, in case of student object, two students have the same attributes like name, address, sex and marks but they are not equal. Objects are the basic run-time entities in an object-oriented system... https://goo.gl/vTrEGE

No comments:

Post a Comment