Your SlideShare is downloading. ×
0
Object Oriented Technologies
Object Oriented Technologies
Object Oriented Technologies
Object Oriented Technologies
Object Oriented Technologies
Object Oriented Technologies
Object Oriented Technologies
Object Oriented Technologies
Object Oriented Technologies
Object Oriented Technologies
Object Oriented Technologies
Object Oriented Technologies
Object Oriented Technologies
Object Oriented Technologies
Object Oriented Technologies
Object Oriented Technologies
Object Oriented Technologies
Object Oriented Technologies
Object Oriented Technologies
Object Oriented Technologies
Object Oriented Technologies
Object Oriented Technologies
Object Oriented Technologies
Object Oriented Technologies
Object Oriented Technologies
Object Oriented Technologies
Object Oriented Technologies
Object Oriented Technologies
Object Oriented Technologies
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Object Oriented Technologies

5,586

Published on

The semonar given at, …

The semonar given at,
K.K. Wagh Polytechnic, Second Shift (Nashik)
on 06/08/2011.
Class: SY and TY IT Students.
Name: Tushar B Kute, SITRC Nashik.

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

No Downloads
Views
Total Views
5,586
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
109
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Object Oriented Technologies
    Tushar B Kute
    Assistant Professor in I.T.
    Sandip Institute of Technology & Research Centre, Nashik
  • 2. Programming Paradigms
    Procedure Oriented
    Object Oriented
  • 3. 3R
    Readability
    Reusability
    Reliability
  • 4. Procedure Oriented Programming
    Procedures / Functions are used to form a modular program.
    For example:
    C
    Pascal
    Cobol
  • 5. Example: C Program
    #include<stdio.h>
    int main( )
    {
    . . . . . .
    }
    void display( )
    {
    . . . . . .
    }
    intaddme(int a, int b)
    {
    . . . . . .
    }
  • 6. Object Oriented Techniques
    ADT
    Polymorphism
    Inheritance
  • 7. Abstract Data Type
    Denotes the essential characteristics of an object that distinguish it from all other kinds of things.
    ADT = data representation + its operations
    Information hiding
    Encapsulation
  • 8. Abstract Data Type
    state, implemented by attributes
    behaviour, implemented by operation
    identity
  • 9. Abstract Data Type
    class
    object
    instance
    encapsulation
    method
    message
    protocol
  • 10. Abstract Data Type
    Class A class is a blueprint for creating objects. It is like a data type in traditional language.
    Instance An instance is a particular element of a class. It is like a variable in traditional language.
  • 11. Polymorphism
    Monomorphismevery values & variables is interpreted to be of one and only one type.
    Polymorphism some variables may have more than one type.
  • 12. Polymorphism
    Binding
    static or early bindingaddInt(x, y)addFloat(x, y)
    dynamic or lateadd(x, y)
  • 13. Polymorphism
    universal polymorphism1. parametric (ex) generic function2. inclusion (ex) subtyping, inheritance mechanism
    ad hoc. polymorphism1. overloading (ex) +2. coercion (ex) 3 + 4.5
  • 14. Example:
    int add (int a, int b)
    float add (float a, int b)
    float add (float a, float b)
    int add (int a, int b, int c)
    float add (int a, float b, int c)
  • 15. Inheritance
    vehicle
    land
    vehicle
    water
    vehicle
    air
    vehicle
    car
    truck
    canoe
    submarine
    jet
    rocket
    18-wheeler
    pickup
  • 16. Inheritance
    Kind-of
    Part-of
  • 17. Inheritance
    A room is a part of a house.A kitchen is a kind of room.
    A boat is a part of a fleet.A cruiser is a kind of a boat.
    A child is a part of a family.A son is a kind of a child.
    A word is a part of a sentence.A noun is a kind of a word.
  • 18. Problem Solving using OOP
    Behaviour of a system (otherwise the state of the system) is exposed through the change of some characteristics.
    paint new color
    Property name : surface-color
    Property value ; green
    Property name : surface-color
    Property value ; red
    The force that change surface-color is PAINT action
  • 19. Class
    Class Describes an object, description includes properties (attributes) and methods the object can perform
    CD_Drive {
    boolean _latchState
    boolean _contentState
    openLatch()
    closeLatch()
    insert()
    eject()
    }
    Object
    Each object consume its own space (Identity)
    Description about CD-Driver
  • 20. Abstraction
    Class wraps necessary details of the object and expose few through interface
    Interface or method is communication point.
    Interface or method can be invoked on an object.
    CD_Drivelg
    CD_Drivesegate
    lg.openLatch();
  • 21. Object Oriented Languages
    Objects are supported.
    Objects are organized into classes.
    Classes are organized into hierarchies using inheritance.
    An object communicates by sending messages to invoke the operations of other objects
    Objects of varying types respond to the same message differently using polymorphism.
  • 22. Object Oriented Programming Languages
    First object-oriented language, Simula at 1967.
    Proved by Smalltalk at 1976.
    C++, Effiel, Common Lisp, Object-Pascal, ... appeared at late 1970s.
    Object-oriented programming environments matured at 1980s.
    User interface (1980s) : WIMP, Dynabook, Apple Lisa and Macintosh, Window systems..
  • 23. Object Oriented Programming Languages
    Java appeared at 1995
    C# by Microsoft at 2001
  • 24. Object Oriented Languages
    Ada
    CLU
    C++
    Modula-2
    Objective-C
    Smalltalk
    CLOS (Lisp)
    Java
    C#
  • 25. Object Oriented Languages
    C++
    AT&Tdesigned by BjarneStroustrup
    ANSI-C compatible
    OOP
  • 26. Object Oriented Languages
    JAVA
    Designed at SUNby James Gosling and team
    C/C++syntax compatible
    True OOP
    ByteCode
    JVM
  • 27. Industrial Importance of OOT
    Java
    J2SE
    J2EE
    J2ME
    Microsoft Visual Studio.net
    PHP
  • 28. Market Share in I.T.
    62 percent technologies are based on Java
    22 percent are on .net
    16 percent are on others…
  • 29. Thank You
    tbkute@gmail.com

×