Loading presentation...

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

Make your likes visible on Facebook?

Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.

No, thanks

Object-Oriented Programming

Introduction to Object-Oriented Programming paradigm.
by

Satrio Adi Rukmono

on 30 May 2011

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Object-Oriented Programming

Object-Oriented
Programming Satrio Adi Rukmono What? Why? When? How? Procedural OOP Building Blocks Strategy Modelling
Real World Objects Classes,
Objects Sequence of Instructions Types, Variables
Functions
Procedures Different Views "Paradigm" VS Is
Procedural Programming
THAT Bad? No. Procedural Simple, repetitive tasks. Object-Oriented Bigger, complex problems. Class → Object Class Member Field Method Constructor,
Destructor Static
Non-static Getter
Setter Public? Private? Protected? Object Object Object Object Object Object Encapsulation = Attribute = Variable
= Property = Function = Behavior No one but me can see it. Everyone knows and has access. Only me and my descendants can see and access. or, Information Hiding What Is Object-Oriented Programming? Why OOP Instead of Procedural Programming? When to Use Each Paradigm? The Basic Concepts of OOP Overloading e.g. One method can have
more than one implementation. is a
programmer-defined type
blueprint for objects is an instance of a class. Controller Modeller Viewer Class I.1 Class I.2 Class I.3 Class I Single Inheritance Public member A
Private member B
Protected member C Public member A
Private member B
Protected member C
Public member D Private member A
Private member B
Private member C Protected member A
Private member B
Protected member C Parent Child Public Private Protected Multiple Inheritance Class II Private member B
Public member Z Protected member A
Member B??
Protected member C
Public member Z Class I_II Repeated Inheritance Class I.1_2 Member A??
Member B??
Member C??
Public member D MVC Inheritance Abstract Public member A
Private member B
Protected member C Public member A
Private member B
Protected member C
Public member D Class I.1 Private member A
Private member B
Private member C Class I.2 Class I Polimorphism Polimorphism Public member A
Private member B
Protected member C
Public member D Class I.1 Class I Class I.2 Private member A
Private member B
Private member C Public member A
Private member B
Protected member C Object o Polimorphism Object o Class I.1 Class I.2 Public member A
Private member B
Protected member C Public member A
Private member B
Protected member C
Public member D Class I Private member A
Private member B
Private member C Exception is a special conditions that change the normal flow of program execution. \\172.17.2.127\ProjectOnGoing\[2011]DivusiSTAR\OOP Pesan Moral Mari kita mulai ber-OOP dengan baik dan benar dengan cara membiasakan diri "take your time"
untuk mendesain kelas
sebelum mulai memprogram.
Full transcript