Concepts of oop

518 views

Published on

Published in: Investor Relations
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
518
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
35
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Concepts of oop

  1. 1. PREPARED BYAKSHAY JANI (116380307521)
  2. 2. ACKNOWLEDGEMENT WE ARE IMMENSLY GREATFUL TO OUR LECTURER AND PROJECT GUIDE, MR.MITESH JAISWAL, FOR HER INVALUABLE GUIDANCE WHICH GAVE US A DEEP INSIGHT ON THE SUBJECT. WITH HER KEEN INTEREST AND CONSTANT MORAL BOOSTING, WE ARE ABLE TO IMPLEMENT THE PROJECT SATISFACTORILY. WE EXPRESS OUR VERY SINCERE THANKS TO COMPUTER ENGINEERING DEPT. FOR PROVIDING ADEQUATE FACILITIES TO COMPLETE OUR PROJECT. WE ARE AGAIN CORDIALLY THANKFUL TO OUR C&E DEPARTMENT STAFF, FRIENDS AND OTHER PEOPLE WHO HAVE DIRECTLY OR INDIRECTLY HELPED US IN COMPLETION OF THIS PROJECT. LAST BUT NOT THE LEAST, WE ARE ALSO THANKFUL TO OUR FAMILY MEMBERS WHO ENGOURAGED AND SUPPORTED US ROUND THE CLOCK FOR THIS PROJECT. Akshay Jani Kaushal Soni
  3. 3. CERTIFICATEThis is to certify that AKSHAY JANI Student of computer Engineering,bearing Enrollment No: 116380307521 have satisfactorily completedhis/her Seminar work as a part of course curriculum in DiplomaEngineering semester III having a report title “ CONCEPT OF OBJECTORIENTED PROGRAMMING ”. MR.MITESH JAISWAL Lecturer, computer Dept. PIETDS-2nd Shift, Limda. PARUL INSTITUTE OF ENGINEERING & TECHNOLOGY COMPUTER ENGG. DEPARTMENT LIMDA, VAGHODIA, VADODARA
  4. 4. CERTIFICATEThis is to certify that KAUSHAL SONI Student of computer Engineering,bearing Enrollment No: 116380307509 have satisfactorily completedhis/her Seminar work as a part of course curriculum in DiplomaEngineering semester III having a report title “CONCEPT OF OBJECTORIENTED PROGRAMMING ”. MR.MITESH JAISWAL Lecturer, computer Dept. PIETDS-2nd Shift, Limda. PARUL INSTITUTE OF ENGINEERING & TECHNOLOGY COMPUTER ENGG. DEPARTMENT LIMDA, VAGHODIA, VADODARA
  5. 5. BASIC CONCEPT OF OBJECTORIENTED PROGRAMMING Object Classes Data abstraction Data encapsulation Inheritance Polymorphism Dynamic binding Message passing
  6. 6. Object OBJ A1Name of objec : OBJ A2 A3 sum( ) product( )Names of Functions: { {Sum() , Product() A3=A1 + A2; A3=A1 * A2 ; Return A3; Return A3; ) )If he requires sum of two If he requires Product of twonumbers than he simply write numbers than he simply OBJ.sum( ) writeIt is like brakes in car OBJ.product( ) It is like steering in car
  7. 7. He can not see the internal structure of the car.abstraction involves the facility to define objectsthat represent abstract "actors" that can performwork, report on and change their state, and"communicate" with other objects in the system.
  8. 8. Data A1, A2, A3Operations/functions sum( ), product( )
  9. 9. VEHICLE AUTO PULLED No_of_pullers TypeofEngine PowerofEngine AERO LAND AQUA Nwheels positionType MaxHeight Dwheels TypeofEngine MinHeight TypeofEngine Type_of_Engine PowerofEngin PowerofEnginePower_of_Engine e
  10. 10. A B CA AB BC A A A B C B CB C D D D
  11. 11. It is made of two wordsPoly means many & Morphism means formsSo if something is in more than one form it may be termed asPolymorphic and this feature is called
  12. 12. Compile time polymorphism Run time polymorphism(1) Function overloading (1) Virtual function(2) Operator overloading
  13. 13.  It means the function associate with a given procedure call is known until at time of run time is calls dynamic binding or late binding.
  14. 14. )
  15. 15. www.facebook.com/jani.akshay

×