0
At the end of this chapter you will           know the concepts of•   Languages•   Principles of OOPs•   Real world and co...
Object oriented programmingHigh level   • Provides easy approach             • Machine independentlanguages    • Understan...
Principles of Object oriented          programming Objects      Encapsulation   Polymorphism  Classes      Data Hiding    ...
Object• Unique identity which contains data and  functions (Characteristics and behavior)                                 ...
Classes• Class is a set of similar objects• Each object has its own attribute and common  behavior   Rainbow is a class th...
Data Abstraction• Act of representing the essential features  without including the background details
Encapsulation• Wrapping up of data and function into a single  unit called class is encapsulation.             DATA + FUNC...
Data Hiding• Data that cannot be directly accessed outside  the class although they are available in the  same program.
Inheritance• Process by which objects of one class can link  and share some common properties of objects  from another cla...
Polymorphism• Process of using a function for more than one  purpose.
Dynamic Binding• Process to link the function call with function  signature during run time.
Object Factory• Class is a prototype of an object• Each objects has its own properties and  behavior• As the class produce...
Message passing• Objects interact with each other• They share the common properties and  behavior• This concept is message...
Question session• In OOP stress is given on _______• A _____ is an object maker• Combining data and function to an single ...
Question answersWhat is OOP ?Name any two OOP languagesName the principles of OOPDefine objectDefine a classWhat is data h...
Object oriented programming
Upcoming SlideShare
Loading in...5
×

Object oriented programming

1,808

Published on

Principles of OOPS

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

  • Be the first to like this

No Downloads
Views
Total Views
1,808
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
62
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Object oriented programming"

  1. 1. At the end of this chapter you will know the concepts of• Languages• Principles of OOPs• Real world and computer software• Object factory
  2. 2. Object oriented programmingHigh level • Provides easy approach • Machine independentlanguages • Understanding is very easyProcedure • Many instructions are written • Instructions are grouped together to form functions • Concentrates much on data items rather than functions oriented Object • Modular approach • Standardize the program by creating partition memory for both data and functionoriented • Reusability of code
  3. 3. Principles of Object oriented programming Objects Encapsulation Polymorphism Classes Data Hiding Dynamic Binding Data InheritanceAbstraction
  4. 4. Object• Unique identity which contains data and functions (Characteristics and behavior) Characteristic : Colour and shape Behavior Write Characteristics are considered as data members Behavior is considered as functions
  5. 5. Classes• Class is a set of similar objects• Each object has its own attribute and common behavior Rainbow is a class that contains amplitude, frequency, wavelength. Objects are the different colors
  6. 6. Data Abstraction• Act of representing the essential features without including the background details
  7. 7. Encapsulation• Wrapping up of data and function into a single unit called class is encapsulation. DATA + FUNCTION = CLASS
  8. 8. Data Hiding• Data that cannot be directly accessed outside the class although they are available in the same program.
  9. 9. Inheritance• Process by which objects of one class can link and share some common properties of objects from another class. 10 10 A 10 B 10 c
  10. 10. Polymorphism• Process of using a function for more than one purpose.
  11. 11. Dynamic Binding• Process to link the function call with function signature during run time.
  12. 12. Object Factory• Class is a prototype of an object• Each objects has its own properties and behavior• As the class produces objects of similar type it is termed as object factory
  13. 13. Message passing• Objects interact with each other• They share the common properties and behavior• This concept is message passing
  14. 14. Question session• In OOP stress is given on _______• A _____ is an object maker• Combining data and function to an single entity is called _______• Object acquiring the properties of another object is called ______• In procedural programming the stress is on _____• Set of objects that have common attributes and behavior is called________
  15. 15. Question answersWhat is OOP ?Name any two OOP languagesName the principles of OOPDefine objectDefine a classWhat is data hidingWhich technique can we adopt for data hiding ?What is polymorphismWhat is message passing?Why is class called as object factory.
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×