1. velog의 Employee상속
문제 내용
2. velog의 버블정렬 구현
3. getArea() 오버라이딩
Shape[] shape = {new Triangle(10,10),new Rectangle(10,10)};
double sumArea = 0;
for (Shape s : shape) {
sumArea += s.getArea();
}
System.out.println(sumArea);
상희 풀이