This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
java:class [2016/02/26 11:15] 127.0.0.1 external edit |
java:class [2016/03/04 14:34] doufexi |
||
---|---|---|---|
Line 13: | Line 13: | ||
public class Rectangle { | public class Rectangle { | ||
| | ||
- | // the Rectangle class has 3 fields | + | // the Rectangle class has 2 fields |
public int width; | public int width; | ||
public int height; | public int height; |