This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
java:class [2016/02/24 09:18] gthanos [Η Κλάση] |
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; |