12 lines
318 B
Java
Raw Normal View History

2015-09-07 11:44:36 -06:00
// polymorphism/shape/Triangle.java
2015-06-15 17:47:35 -07:00
// <20>2015 MindView LLC: see Copyright.txt
package polymorphism.shape;
import static com.mindviewinc.util.Print.*;
public class Triangle extends Shape {
@Override
public void draw() { print("Triangle.draw()"); }
@Override
public void erase() { print("Triangle.erase()"); }
2015-09-07 11:44:36 -06:00
}