Interface Poligono

All Superinterfaces:
java.lang.Comparable
All Known Implementing Classes:
Quadrato, Rettangolo, Triangolo

public interface Poligono
extends java.lang.Comparable


Method Summary
 double area()
           
 int perimetro()
           
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

perimetro

int perimetro()
Returns:
perimetro del poligono

area

double area()
Returns:
area del poligono