|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--Shape
|
+--Rectangle
|
+--Square
| Constructor Summary | |
Square(double side)
costruisce un quadrato a partire dalla lunghezza del suo lato. |
|
| Method Summary | |
void |
draw()
scrive un messaggio che identifica la figura. |
| Methods inherited from class Rectangle |
calculateArea, calculatePerimeter, getHeight, getWidth |
| Methods inherited from class Shape |
compareTo |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Square(double side)
side - la lunghezza del lato del quadrato.| Method Detail |
public void draw()
Shape
draw in class Rectangle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||