public interface shape{public double area();}
public class rectangle implements shape {}
public class circle implements shape {}
public class triangle implements shape {}
public interface shape{public double area();}
public class rectangle implements shape {}
public class circle implements shape {}
public class triangle implements shape {}