Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 28fbdd9

Browse files
committed
no changes
2 parents 07ff7f4 + 6a69c2f commit 28fbdd9

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

src/Main.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,39 @@
11
class Shape {
22
String colour;
33
double area;
4+
45
Shape(String colour) {
6+
57
this.colour = colour;
68
}
9+
10+
Shape(String colour, double area) {
11+
this.colour = colour;
12+
this.area = area;
13+
}
14+
<<<<<<< HEAD
715
Shape(String colour, double area) {
816
this.colour = colour;
917
this.area = area;
1018
}
19+
=======
20+
21+
Shape(double area){
22+
this.area=area;
23+
}
24+
25+
>>>>>>> 6a69c2f26198bd230a5a8aa01188f299f6834402
1126
Shape(Shape s1) {
1227
this.colour = s1.colour;
1328
this.area = s1.area;
1429
}
30+
<<<<<<< HEAD
1531
void findArea() {
32+
=======
33+
34+
void findArea() {
35+
36+
>>>>>>> 6a69c2f26198bd230a5a8aa01188f299f6834402
1637
}
1738
}
1839

0 commit comments

Comments
 (0)