Commit 0e1ab369 authored by a-j.towse's avatar a-j.towse
parents a638154f 6c07dbfb
No preview for this file type
No preview for this file type
No preview for this file type
......@@ -5,8 +5,11 @@ public class App {
Shape shape2 = new Square(3);
shape2.draw();
<<<<<<< HEAD
Shape shape3 = new Rectangle(5,7);
shape3.draw();
=======
>>>>>>> 6c07dbfb68ad5b5ceab794cbb90d1b5c17473575
}
}
......@@ -22,6 +22,7 @@ public class Rectangle extends Shape{
float circ = (width*2) + (height*2);
return circ;
}
<<<<<<< HEAD
@Override
public void draw(){
......@@ -42,4 +43,11 @@ public class Rectangle extends Shape{
}
System.out.println("");
}
=======
@Override
public void draw(){
}
>>>>>>> 6c07dbfb68ad5b5ceab794cbb90d1b5c17473575
}
......@@ -34,7 +34,10 @@ public class Square extends Shape{
for (int loop4=0; loop4<size; loop4++){
System.out.print("--");
}
<<<<<<< HEAD
System.out.println("");
=======
>>>>>>> 6c07dbfb68ad5b5ceab794cbb90d1b5c17473575
}
}
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