オブジェクト指向とは

66cc992074ab4522374e429c11fef225?s=47 youichiro
January 28, 2019

 オブジェクト指向とは

長岡技術科学大学
技大祭実行委員会 総務局情報部門
勉強会資料

66cc992074ab4522374e429c11fef225?s=128

youichiro

January 28, 2019
Tweet

Transcript

  1.   ! - Ruby   - 2 01

    9 98-
  2. • 1 13 1 1 • 13 1 • 1

    • . 3 2 3 1 
  3. .. - /// . .

  4. .. - /// . .    

  5.       

  6.        

  7.          

      
  8. None
  9.  

  10. B BC B 55 55 - B BC B B

    BC B B BC B B BC B B BC B B - BC B
  11.   ) - M ( A -  

      
  12.     840 L i ,/ ) (

    56 - ek . 1 o M o X dACmbh r     
  13. , A  , A     

     F F ,
  14.  "#   "#     

       *! )   ($ &'% 
  15.        F .( .

    ) )
  16. (    0. A   , 3

    0 0 2 ) 3 1 0 1 2 ,
  17.     

  18. #   ) () C3 34 2 71 .

       3 3 3
  19.   4 99 8 1 0 8 8 1

    C > 7 9 8 4 99 7 9 8 .31 20 8 # # =    = C = # #
  20. ( 11 > C 21 = . . . 4

    = 9 > C 9   # > C 9
  21. ( 3 ./0 //. C > //.=24#1 C / .

    / . ) / 24#1 C   (
  22. #    # c _ _  

      ) _ eC @ f . 2 2 2 2= (  b a . . 1 ( i b h . . ) > 3 b d _ 1 3
  23. ) . 2 2 2 2= ( . . 1

    ( . . # ) > 3 # _ ) > 12 _ # 1 1    ü @ C 3 12 #    
  24.  !

  25.     3 ./0 //. = //.>24# C

    / . ./0 //. //. / . / . ( / )) 24# C //. //.
  26. 3 ./0 5 //. = //.>2 # C /5. ./0

    //. //. /5. /5. ( 5/ 5 )) 2 # C //. ( //. (     ) C C       
  27.     # ( . . ) )

    . . ) 6 . . ( . = 2> ) 2 6 #
  28.     #     

      ( 7 . . 7) 7 7 7) 7 . . ) 7 7 . . 7 ( 7 . = 2> 7 ) 7 2 7 # # @C
  29.          #

    .28 # 8 .28
  30.  # 9 .2 # .2    

         
  31.  . )) = 01 3 3 3 3 0

    . . ). . . 0 01 2 > = )) 0 01 2 > . = ). 0 0 @ . " 0> . . " 0> >23 0 . " 2 > . " 2 > . . " 2 > . " 2 > . (( = (( . (( = (( >23 0        
  32.  ) (( . . . 2 2 2 2>

    ( . . 1 = . (( . . . 1 = ( . . ) " = 3 ) " = =12 " 1 = . " 1 = " 1 = . " 1 = . 3 . =12         ü   
  33.    ) ) ) ( ) . =

    2 > 3 : . . 3 : ## E C : # 2 2
  34.  3 # = . : . . # :

    CE > : #   ) ) ) ( )
  35. c ON  c      

    O O c O a S g_ $ O c @ O @ O O C $$ c O O O C io S b l nb () : T c C ,
  36.  ) . ( " =C@ ( 3. . (

    3 ( > " 3. 3. ) #3 # # " 5 #
  37.   ) () . . ) () " )

    " ) 3 6 ) " )               
  38.  " 3 3 3 3 3 3 73 3

    3 3 3 7 3 3 . 3 3 . >= : >= :
  39.  " . 33 33 . . . 3 .

    . 8 >= >= :
  40.  ( == - >> 3==: )9 3# ) :

    : 3 : 3 C ,9 3 , : : " 39 39 - 93@ 9 3 -. : : @5 >3 >= 9 3 >= : : >= : 3 -. @5 >3 -. @5 >3"
  41.  

  42.          

    
  43.          

     
  44.          

    
  45.         

  46.          

     
  47.  -  -  

  48.  -        

    
  49. -        

  50.  4 . # # . . 9 9 .

    ü C D A = <><
  51.  . 0 . 50 5 = 0 0 .

    0 . 5 5 = 0 0 0 50 5 = = ü A < C > =
  52.  . 1 < C= 5 # < = #

    < = > 5 5 5 1 1 ü D D A
  53.  55 2. 5 < 2 2 55 # 2.

    5 C = 5 >A >A 2 2 2 < >A >A
  54.  2 • 3 3 3 3 • . 3

    3 • 31 • 3