OC 类、对象的建立和使用

OOP面向对象编程 Object-Oriented Programmingjava 1、function 函数 void drawShapes(id shapes[], int count){ for(int i=0 ; i<count ; i++){ id shape = shapes[i]; [shape draw]; } }//draw
相关文章
相关标签/搜索