Ds4 artist week_11

  • View
    219

  • Download
    2

Embed Size (px)

Text of Ds4 artist week_11

  • KSAD 2012

    week #11

  • - OOP

    - OOP

  • -

  • :

  • class { ...

    ( ) { }

    ( ) { }

    ...}

    ?

  • , !!

  • , , .

  • : CRC ..

  • class Dog {//data

    Dog ( ) { }

    //method}

  • Dog happy = new Dog();

    Dog worry = new Dog();

  • !!

    class Cat {//data

    Cat ( ) { }

    //method}

    ?

  • #1 Inheritance

    ??

  • #2 Polymorphism

    ~

    !...

  • : PongBall

  • ?

    -

    - !!!

  • (Array)

    int[] numbers = new int[10];

    numbers[0] = 10;numbers[1] = 20;numbers[2] = 30;...

  • OO (Array)

    OO[] OOList = new OO[10];

    OOList[0] = ??;OOList[1] = ??;OOList[2] = ??;...

  • http://bit.ly/ds4artist-rfx

  • . :)

    - /.

    - / .