Commit 4bb3ee2f authored by Elijah's avatar Elijah

commit

parent 5da77120
No preview for this file type
...@@ -3,11 +3,13 @@ public class Main1 { ...@@ -3,11 +3,13 @@ public class Main1 {
Foo f = new Foo(); Foo f = new Foo();
f.x = 42; f.x = 42;
f.y = 9; f.y = 9;
System.out.println(f.same());
System.out.println(f.sum()); System.out.println(f.sum());
System.out.println(f.difference()); System.out.println(f.difference());
Foo g = new Foo(); Foo g = new Foo();
g.x = 16; g.x = 16;
g.y = 33; g.y = 33;
System.out.println(g.same());
System.out.println(g.sum()); System.out.println(g.sum());
} }
} }
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