Commit 309710d8 authored by sam.pople's avatar sam.pople

Finished (Rectangle works)

parent 712785c4
No preview for this file type
No preview for this file type
public class App { public class App {
public static void main(String[] args) throws Exception { public static void main(String[] args) throws Exception {
Shape shape1 = new Triangle(3); Shape shape1 = new Rectangle(3, 4);
shape1.draw(); shape1.draw();
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment