1 / 18

Programming & OOP

Programming & OOP. Hossam Elshahawi SP at Microsoft Presidant at MS Tech Club DA. What’s Programming ?. What’s Programming ?. Let’s. With socks. Object Oriented Programming “OOP”. Object Oriented Programming. Traditional Programming Difficult Maintenance Slow Development

apollo
Download Presentation

Programming & OOP

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Programming & OOP HossamElshahawi SP at Microsoft Presidant at MS Tech Club DA

  2. What’s Programming ?

  3. What’s Programming ? Let’s With socks

  4. Object Oriented Programming “OOP”

  5. Object Oriented Programming Traditional Programming • Difficult Maintenance • Slow Development • Dev. Rule { Time = Money }

  6. Object Oriented Programming Spaghetti Code

  7. Object Oriented Programming OOP • Easy Maintenance • Fast Development • Code Reuse and Recycling • Clear Modular Structure for programs • Design Benefits • mush suitable for large projects

  8. Object Oriented Programming OOP Concept • Object Oriented Programming is a methodology to write the program where we specify the code in form of Classes and Objects

  9. Object Oriented Programming Everything is an Object !

  10. Object Oriented Programming Object Human Actions Methods behavior Attributes Age Age = 20 Name Color Walk Talk Jump

  11. Object Oriented Programming Other Example : Actions Turn Left Turn Right Horn Move Attributes Color Model Engine Power

  12. Object Oriented Programming Classes Vs. Objects Class Object Move : - Forward Turn : - Right - Left Brand Model Color Engine- Power • Move : • - Forward • Turn : • Right • - Left Toyota Corolla Red 200 P.H. Actions Attributes Actions Attributes A copy From Class Car

  13. Object Oriented Programming Basic Concept of OOPS : There are main three core principles of any object oriented languages • INHERITANCE • POLYMORPHISM • ENCAPSULATION

  14. Object Oriented Programming INHERITANCE

  15. Object Oriented Programming POLYMORPHISM

  16. Object Oriented Programming ENCAPSULATION

  17. Q&A Thank You :)

More Related