|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectRettangolo
public class Rettangolo
Constructor Summary | |
---|---|
Rettangolo(int p,
int q)
|
Method Summary | |
---|---|
double |
area()
|
int |
compareTo(java.lang.Object obj)
|
int |
perimetro()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Rettangolo(int p, int q)
Method Detail |
---|
public int perimetro()
perimetro
in interface Poligono
public double area()
area
in interface Poligono
public int compareTo(java.lang.Object obj)
compareTo
in interface java.lang.Comparable
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |