What is OOP?OOP or Object Oriented Programming comes under Procedural programming that enables programmers to create new modules without having the need to change them when a new object is created. It involves defining data within data structures and the different operations that can be performed on them. C++, Java are examples of OOP.What is OOP?The object oriented programming is commonly known as OOP. Most of the languages are developed using OOP concept. Object-oriented programming (OOP) is a programming concept that uses "objects" to develop a system.
A programming object has an ability to perform actions and has attributes. It performs just like real world entities for e.g. a motor bike. A bike performs actions such as 'Start', 'Stop' etc., and it has attributes like red color, 150 cc etc. So does an Object. Actions and attributes are represented by Methods and fields or properties respectively in programming language.
An object hides the implementation details and exposes only the functionalities and parameters it requires to its client. Here also an object shares the same concept as that of a bike. While driving a motor bike, we are unaware of its implementation details such as how it is developed, internal working of gears etc.? We know only the functions or actions it can perform. What is object oriented programming (OOP)?Object oriented programming uses a paradigm which utilizes the objects consisting data members and operations on the data members. An OOP is thus viewed as objects interaction. Each object is capable of sending and receiving messages, data processing to other objects.
|