To change this template choose Tools Templates and open the template i

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package figures;
import java.util.ArrayList;
import java.util.Iterator;
/**
*
* @author m10bma2
*/
public class Shape {
public double Area;
//public abstract double getArea();
public boolean Equals(Shape a,Shape b){
if (a.Area == b.Area){
return true;
}else{
return false;
}
}
}