U E D R , A S I H C RSS

타도코코아Cpp Study/0724/선희발표_객체지향

?


  • =
    , 과감 .

  • = +

  • Identity() - 각 객 고, .
  • Classification() - (class) .
    각 객 (instance) .

    (operation) 기 갖고 , .( (attribute) . 그 .)

  • Polymorphism() - 그 기 .
    '(move)' '교' , '' .

  • Inheritance() - 계(hierarchy) .
    , (subclass) . , (super class) .



  • .
  • 각각 .
    -- black box : 그 객 그 객 .


object
,


  • (data abstraction) : (data entity) . .

  • (encapsulation) : 객 과 객 . (information hiding) 개 . (method). (state) .

  • combining data and behavior : .

  • sharing : (sharing) (inheritance) .
    (reuse) .

    (specification), (generalization) .

  • (Capsulation) : .
    그객 , 꼭 거 .
    . .
    . . .

  • (Class and Objectas any type data) : 2 . .
    까? , .
    .
    .

  • (Inheritance) : 객 .
    . 150. 300 . 150 300 . . 300 .

  • (Polymophism) : .
    150 300 . . . ( 300) ( 150 300 ).
    .

1. 객 (object-oriented anaysis : OOA)


(model) 계(real-world) . .


(object model) : 객과 그 (static structure) 계(interface) (object diagram) .

(dynamic model) : (state diagram) . 간(real-time) .

(fuction model) : (DFD) .



2. 객 계(object-oriented design : OOD)


.


계(system design) : . , , .

계(object design) : 구 . 구 .



3. 객(object-oriented programming : OOP)


. 객, , (object-oriented programming language : C++, Smalltalk ) , (object-oriented based programming language : Ada ) .
, (structured programming language : C, Pascal ) (OODBMS) .
기개 , , 개 .

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:31:20
Processing time 0.0285 sec