oops
DESCRIPTION
TRANSCRIPT
![Page 1: Oops](https://reader033.vdocuments.net/reader033/viewer/2022042813/54bbf3fc4a7959502e8b45a2/html5/thumbnails/1.jpg)
![Page 2: Oops](https://reader033.vdocuments.net/reader033/viewer/2022042813/54bbf3fc4a7959502e8b45a2/html5/thumbnails/2.jpg)
OOPs? Concepts in OOPs? Objects & classes Data abstraction and Encapsulation Inheritance and Its types? Polymorphism and its types? Constructors and Destructors Benefits and application
![Page 3: Oops](https://reader033.vdocuments.net/reader033/viewer/2022042813/54bbf3fc4a7959502e8b45a2/html5/thumbnails/3.jpg)
It is an approach that provides a way of
modularizing programs by creating partitioned memory area for both data and functions that can be used as templates for creating copies of such modules on demand.
![Page 4: Oops](https://reader033.vdocuments.net/reader033/viewer/2022042813/54bbf3fc4a7959502e8b45a2/html5/thumbnails/4.jpg)
Objects and classes Data Abstraction Data Encapsulation Inheritance polymorphism
![Page 5: Oops](https://reader033.vdocuments.net/reader033/viewer/2022042813/54bbf3fc4a7959502e8b45a2/html5/thumbnails/5.jpg)
Objects : Run-time entities The data of an object can be accessed
only by methods associated with that objects.
Classes : User-defined data type. Class basically implements the planning
& it is nothing but alternative of structure.
![Page 6: Oops](https://reader033.vdocuments.net/reader033/viewer/2022042813/54bbf3fc4a7959502e8b45a2/html5/thumbnails/6.jpg)
Abstraction : It refers to an act of representing
essential features without including the background details.
Classes use the concept of abstraction Data hidingEncapsulation : It is the most striking features of class It provides interface between object’s
data and program
![Page 7: Oops](https://reader033.vdocuments.net/reader033/viewer/2022042813/54bbf3fc4a7959502e8b45a2/html5/thumbnails/7.jpg)
It provides the idea of Reusability It is a process by which objects of one
class acquire the properties of objects of another class.
It has super class and sub classes
![Page 8: Oops](https://reader033.vdocuments.net/reader033/viewer/2022042813/54bbf3fc4a7959502e8b45a2/html5/thumbnails/8.jpg)
Single Inheritance Multilevel Inheritance Hierarchical Inheritance Multiple Inheritance Hybrid Inheritance
![Page 9: Oops](https://reader033.vdocuments.net/reader033/viewer/2022042813/54bbf3fc4a7959502e8b45a2/html5/thumbnails/9.jpg)
![Page 10: Oops](https://reader033.vdocuments.net/reader033/viewer/2022042813/54bbf3fc4a7959502e8b45a2/html5/thumbnails/10.jpg)
It is an ability to take more than one form.
Behaviour is depends upon the types of data used in the operation.
Different internal structures to share the same external interface.
![Page 11: Oops](https://reader033.vdocuments.net/reader033/viewer/2022042813/54bbf3fc4a7959502e8b45a2/html5/thumbnails/11.jpg)
![Page 12: Oops](https://reader033.vdocuments.net/reader033/viewer/2022042813/54bbf3fc4a7959502e8b45a2/html5/thumbnails/12.jpg)
Constructor : It enables an objects to initialize itself
when it is created. Do not specify return type.Destructor : Mostly in virtual form.
![Page 13: Oops](https://reader033.vdocuments.net/reader033/viewer/2022042813/54bbf3fc4a7959502e8b45a2/html5/thumbnails/13.jpg)
To built secure program by data hiding. Eliminating redundant code and extend
use of existing classes. It is easy to partition the work in a project
based on objects. To have multiple objects to coexist
without any interference.
![Page 14: Oops](https://reader033.vdocuments.net/reader033/viewer/2022042813/54bbf3fc4a7959502e8b45a2/html5/thumbnails/14.jpg)
Object-oriented database Real-time systems AI and expert systems Neural networks and parallel
programming.