Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
prog2 wk4
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
elijah vasquez
prog2 wk4
Commits
4bb3ee2f
Commit
4bb3ee2f
authored
Feb 28, 2022
by
Elijah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit
parent
5da77120
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
Main1.class
bin/Main1.class
+0
-0
Main1.java
src/Main1.java
+2
-0
No files found.
bin/Main1.class
View file @
4bb3ee2f
No preview for this file type
src/Main1.java
View file @
4bb3ee2f
...
...
@@ -3,11 +3,13 @@ public class Main1 {
Foo
f
=
new
Foo
();
f
.
x
=
42
;
f
.
y
=
9
;
System
.
out
.
println
(
f
.
same
());
System
.
out
.
println
(
f
.
sum
());
System
.
out
.
println
(
f
.
difference
());
Foo
g
=
new
Foo
();
g
.
x
=
16
;
g
.
y
=
33
;
System
.
out
.
println
(
g
.
same
());
System
.
out
.
println
(
g
.
sum
());
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment