Posts

Showing posts with the label object

Class In Object Oriented Programming

Image
Abstraction means that a group of related properties methods and other members are treated as a single unit or object. In an object-oriented language the program is split into self-contained objects or you can say into several mini-programs. Object Oriented Programming Terminology 101 Computing Object Oriented programming OOP is a programming paradigm that relies on the concept of classes and objects. Class in object oriented programming . When a class is defined no memory is allocated but when it is instantiated ie. The class is one of the defining ideas of object-oriented programming. OOP can help you consider objects in a programs code and the different actions that could happen in relation to the objects. Thus an object is a specific instance of a class. For example a person is an object which has certain properties such as height gender age etc. It makes you see your code as a series of objects as opposed to a code sequence. Therefore its easier to read reuse