1<br />Object Oriented Principles<br />An introduction to the methods and principles …<br />Manish Kungwani<br />
2<br />The task of a good software …<br />
Procedural approach (Algorithmic decomposition)<br />Object-oriented approach (Object-oriented decomposition)<br />Program...
4<br />Algorithmic Decomposition<br />
5<br />Object-oriented Decomposition<br />
Object – Any tangible/intangible entity that has state, behavior, and identity.<br />The structure and behavior of similar...
7<br />Object<br />
Abstraction<br />Encapsulation<br />Inheritance<br />Polymorphism<br />8<br />Principles of Object Oriented Programming<br />
9<br />Abstraction<br />An abstraction denotes the essential characteristics of an object that distinguish it from all oth...
10<br />Encapsulation<br />Encapsulation is the process of compartmentalizing the elements of an abstraction that constitu...
11<br />Inheritance<br />Inheritance is a relationship among classes wherein one class shares the structure and/or behavio...
12<br />Inheritance – An example<br /><ul><li>Student -> {Name, Rollno, Date of birth}
Mechanical Engg. Student -> {Name, Rollno, Date of birth, Subject}
Mechanical Engg. Student IS A Student</li></li></ul><li>Polymorphism is a concept in type theory wherein a name may denote...
Strong Typing<br />Concurrency<br />Persistence<br />14<br />Minor principles<br />
15<br />StrongTyping<br />
16<br />Concurrency<br />
17<br />Persistence<br />
Object-oriented programming is a method of implementation in which programs are organized as cooperative collections of ob...
Upcoming SlideShare
Loading in …5
×

Object oriented programming mine normalized

1,033 views

Published on

Object Oriented Design presentation.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,033
On SlideShare
0
From Embeds
0
Number of Embeds
14
Actions
Shares
0
Downloads
20
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Object oriented programming mine normalized

  1. 1. 1<br />Object Oriented Principles<br />An introduction to the methods and principles …<br />Manish Kungwani<br />
  2. 2. 2<br />The task of a good software …<br />
  3. 3. Procedural approach (Algorithmic decomposition)<br />Object-oriented approach (Object-oriented decomposition)<br />Programming Methodologies<br />3<br />
  4. 4. 4<br />Algorithmic Decomposition<br />
  5. 5. 5<br />Object-oriented Decomposition<br />
  6. 6. Object – Any tangible/intangible entity that has state, behavior, and identity.<br />The structure and behavior of similar objects are defined in their common class.<br />The terms instance and object are interchangeable.<br />6<br />Object Oriented Programming<br />
  7. 7. 7<br />Object<br />
  8. 8. Abstraction<br />Encapsulation<br />Inheritance<br />Polymorphism<br />8<br />Principles of Object Oriented Programming<br />
  9. 9. 9<br />Abstraction<br />An abstraction denotes the essential characteristics of an object that distinguish it from all other kinds of objects and thus provide crisply defined conceptual boundaries, relative to the perspective of the viewer.<br />
  10. 10. 10<br />Encapsulation<br />Encapsulation is the process of compartmentalizing the elements of an abstraction that constitute its structure and behavior; encapsulation serves to separate the contractual interface of an abstraction and its implementation.<br />
  11. 11. 11<br />Inheritance<br />Inheritance is a relationship among classes wherein one class shares the structure and/or behavior defined in one (single inheritance) or more (multiple inheritance) other classes.<br />
  12. 12. 12<br />Inheritance – An example<br /><ul><li>Student -> {Name, Rollno, Date of birth}
  13. 13. Mechanical Engg. Student -> {Name, Rollno, Date of birth, Subject}
  14. 14. Mechanical Engg. Student IS A Student</li></li></ul><li>Polymorphism is a concept in type theory wherein a name may denote instances of many different classes as long as they are related by some common superclass. Any object denoted by this name is thus able to respond to some common set of operations in different ways.<br />13<br />Polymorphism<br />
  15. 15. Strong Typing<br />Concurrency<br />Persistence<br />14<br />Minor principles<br />
  16. 16. 15<br />StrongTyping<br />
  17. 17. 16<br />Concurrency<br />
  18. 18. 17<br />Persistence<br />
  19. 19. Object-oriented programming is a method of implementation in which programs are organized as cooperative collections of objects, each of which represents an instance of some class, and whose classes are all members of a hierarchy of classes united via inheritance relationships.<br />18<br />Object Oriented Programming<br />
  20. 20. 19<br />Questions can be mailed at :manish.kungwani@student-partners.comMy blog :http://manishkungwani.spaces.live.comMy screen casts can be found at : http://manishkungwani.spaces.live.com<br />

×