4.28k likes | 7.96k Views
OOPS CONCEPT. BY- RAJNI KARDAM PGT(Comp. Science) GROUP(1). OOPS. Object Oriented Programming Structure. PROCEDURAL Vs OOP PROGRAMMING. OBJECT. Object is an identifiable entity with some characteristics and behaviour. CLASS.
E N D
OOPS CONCEPT BY- RAJNI KARDAM PGT(Comp. Science) GROUP(1)
OOPS • Object Oriented Programming Structure
OBJECT • Object is an identifiable entity with some characteristics and behaviour.
CLASS • A CLASS represents a group of objects that share common properties and relationships. • Object can be defined as a variable of type class.
Features of OOPs • Data Abstraction • Data Encapsulation & data hiding • Modularity • Inheritance • Polymorphism
Data Abstraction • Abstraction refers to the act of representing essential features without including the background details of explanations.
Data Encapsulation • The wrapping up of data and functions (that operate on data) into a single unit (called class) is known as ENCAPSULATION. DATA Member functions Object
MODULARITY • MODULARITY is a property of a system that has been decomposed into a set of cohesive and loosely coupled modules.
INHERITENCE • INHERITENCE is the capability of one class of things to inherit capabilities or properties from another class.
POLYMORPHISM • POLYMORPHISM is the ability for a message or data to be processed in more than one form. Polymorphism is a property by which the same message can be sent to objects of several different classes.