18
Programming & OOP Hossam Elshahawi SP at Microsoft Presidant at MS Tech Club DA

Programming & OOP

  • Upload
    apollo

  • View
    110

  • Download
    0

Embed Size (px)

DESCRIPTION

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 - PowerPoint PPT Presentation

Citation preview

Page 1: Programming &  OOP

Programming & OOP

Hossam ElshahawiSP at MicrosoftPresidant at MS Tech Club DA

Page 2: Programming &  OOP

What’s Programming ?

Page 3: Programming &  OOP

What’s Programming ?

Let’s With socks

Page 4: Programming &  OOP

Object Oriented Programming“OOP”

Page 5: Programming &  OOP

Object Oriented Programming

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

Page 6: Programming &  OOP

Object Oriented Programming

Spaghetti Code

Page 7: Programming &  OOP

Object Oriented Programming

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

Page 8: Programming &  OOP

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

Page 9: Programming &  OOP

Object Oriented Programming

Everything is an Object !

Page 10: Programming &  OOP

Object Oriented Programming

Object

AttributesActions Methodsbehavior

Age Age = 20

NameColor

WalkTalk

Jump

Human

Page 11: Programming &  OOP

Object Oriented Programming

Other Example :

ColorModel

Engine Power

Turn LeftTurn Right

HornMove

ActionsAttributes

Page 12: Programming &  OOP

Object Oriented Programming

Classes Vs. ObjectsClass

BrandModelColorEngine- Power

Move :- ForwardTurn :

- Right - Left

AttributesActions

Object

ToyotaCorolla

Red200 P.H.

Move :- ForwardTurn : - Right - - Left

AttributesActions

A copy From

Class Car

Page 13: Programming &  OOP

Object Oriented Programming

Basic Concept of OOPS :

There are main three core principles of any object oriented languages

INHERITANCEPOLYMORPHISMENCAPSULATION

Page 14: Programming &  OOP

Object Oriented Programming

INHERITANCE

Page 15: Programming &  OOP

Object Oriented Programming

POLYMORPHISM

Page 16: Programming &  OOP

Object Oriented Programming

ENCAPSULATION

Page 17: Programming &  OOP

Q&A

Thank You :)

Page 18: Programming &  OOP