正在加载图片...
不提倡的程序风格 种不好的风格 class point int x, y; Point(int xl, int yl)x=xl; 1: Point( ){this(0,0);} void moveto(int xl, int yIt x=Xl;y=yl;不提倡的程序风格 ▪ 一种不好的风格 class Point {int x,y;Point(int x1,int y1) {x=x1; y=y1; } Point( ){this(0,0);} void moveto(int x1,int y1){ x=x1;y=y1; }}
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有