Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
Java Exercise 3
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
elliot.copeland
Java Exercise 3
Commits
e30b71c1
Commit
e30b71c1
authored
May 12, 2022
by
elliot.copeland
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Exercise Complete
parent
04404339
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
App.class
JavaAssessment 3/src/App.class
+0
-0
App.java
JavaAssessment 3/src/App.java
+3
-1
No files found.
JavaAssessment 3/src/App.class
View file @
e30b71c1
No preview for this file type
JavaAssessment 3/src/App.java
View file @
e30b71c1
...
...
@@ -19,7 +19,8 @@ public class App {
test
.
addOverdraft
(
500
);
test
.
withdrawal
(
800
);
test
.
display
();
System
.
out
.
println
(
" "
);
System
.
out
.
println
(
"~~~~~~~~~~~~~~~~~~Testing savings account~~~~~~~~~~~~~~~~~~~~~~"
);
BankAccount
test2
=
new
SavingAccount
(
900
,
"Bob"
,
100
);
test2
.
display
();
...
...
@@ -36,6 +37,7 @@ public class App {
test2
.
bankFees
();
test2
.
display
();
System
.
out
.
println
(
" "
);
test2
.
addOverdraft
(
500
);
test2
.
display
();
}
...
...
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