Oops

1,094 views

Published on

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,094
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
60
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Oops

  1. 2. <ul><li>OOPs? </li></ul><ul><li>Concepts in OOPs? </li></ul><ul><li>Objects & classes </li></ul><ul><li>Data abstraction and Encapsulation </li></ul><ul><li>Inheritance and Its types? </li></ul><ul><li>Polymorphism and its types? </li></ul><ul><li>Constructors and Destructors </li></ul><ul><li>Benefits and application </li></ul>
  2. 3. <ul><li>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. </li></ul>
  3. 4. <ul><li>Objects and classes </li></ul><ul><li>Data Abstraction </li></ul><ul><li>Data Encapsulation </li></ul><ul><li>Inheritance </li></ul><ul><li>polymorphism </li></ul>
  4. 5. <ul><li>Objects : </li></ul><ul><li>Run-time entities </li></ul><ul><li>The data of an object can be accessed only by methods associated with that objects. </li></ul><ul><li>Classes : </li></ul><ul><li>User-defined data type. </li></ul><ul><li>Class basically implements the planning & it is nothing but alternative of structure. </li></ul>
  5. 6. <ul><li>Abstraction : </li></ul><ul><li>It refers to an act of representing essential features without including the background details. </li></ul><ul><li>Classes use the concept of abstraction </li></ul><ul><li>Data hiding </li></ul><ul><li>Encapsulation : </li></ul><ul><li>It is the most striking features of class </li></ul><ul><li>It provides interface between object’s data and program </li></ul>
  6. 7. <ul><li>It provides the idea of Reusability </li></ul><ul><li>It is a process by which objects of one class acquire the properties of objects of another class. </li></ul><ul><li>It has super class and sub classes </li></ul>
  7. 8. <ul><li>Single Inheritance </li></ul><ul><li>Multilevel Inheritance </li></ul><ul><li>Hierarchical Inheritance </li></ul><ul><li>Multiple Inheritance </li></ul><ul><li>Hybrid Inheritance </li></ul>
  8. 10. <ul><li>It is an ability to take more than one form. </li></ul><ul><li>Behaviour is depends upon the types of data used in the operation. </li></ul><ul><li>Different internal structures to share the same external interface. </li></ul>
  9. 12. <ul><li>Constructor : </li></ul><ul><li>It enables an objects to initialize itself when it is created. </li></ul><ul><li>Do not specify return type. </li></ul><ul><li>Destructor : </li></ul><ul><li>Mostly in virtual form. </li></ul>
  10. 13. <ul><li>To built secure program by data hiding. </li></ul><ul><li>Eliminating redundant code and extend use of existing classes. </li></ul><ul><li>It is easy to partition the work in a project based on objects. </li></ul><ul><li>To have multiple objects to coexist without any interference . </li></ul>
  11. 14. <ul><li>Object-oriented database </li></ul><ul><li>Real-time systems </li></ul><ul><li>AI and expert systems </li></ul><ul><li>Neural networks and parallel programming. </li></ul>

×