Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AssessmentZooProgram
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
a-j.towse
AssessmentZooProgram
Commits
59016b60
Commit
59016b60
authored
May 14, 2022
by
a-j.towse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deleted dogTest, added fish
parent
e2c23cab
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3 additions
and
14 deletions
+3
-14
App.class
ZooProgram/bin/App.class
+0
-0
DogTest.class
ZooProgram/bin/DogTest.class
+0
-0
Fish.class
ZooProgram/bin/Fish.class
+0
-0
App.java
ZooProgram/src/App.java
+3
-3
DogTest.java
ZooProgram/src/DogTest.java
+0
-11
No files found.
ZooProgram/bin/App.class
View file @
59016b60
No preview for this file type
ZooProgram/bin/DogTest.class
deleted
100644 → 0
View file @
e2c23cab
File deleted
ZooProgram/bin/Fish.class
0 → 100644
View file @
59016b60
File added
ZooProgram/src/App.java
View file @
59016b60
...
...
@@ -6,8 +6,8 @@ public class App {
Zoo
myZoo
=
new
Zoo
();
DogTest
Rex
=
new
DogTest
(
"Rex"
,
"red stripes"
,
"barn"
,
"dog food
"
);
DogTest
Pix
=
new
DogTest
(
"Pix"
,
"Gold"
,
"house"
,
"human food and dog food
"
);
Fish
Rex
=
new
Fish
(
"Rex"
,
"red stripes"
,
"sea"
,
"sea-weed"
,
12.5
,
"freshwater
"
);
Fish
Pix
=
new
Fish
(
"Pix"
,
"gold"
,
"river"
,
"smaller fish"
,
5.0
,
"saltwater
"
);
myZoo
.
addanimal
(
Rex
);
myZoo
.
addanimal
(
Pix
);
...
...
@@ -27,7 +27,7 @@ public class App {
myZoo
.
displayListDetials
(
animalList
);
myZoo
.
displayEnvironmentList
(
"
house
"
);
myZoo
.
displayEnvironmentList
(
"
sea
"
);
}
}
...
...
ZooProgram/src/DogTest.java
deleted
100644 → 0
View file @
e2c23cab
public
class
DogTest
extends
Animal
{
public
DogTest
()
{
super
();
}
public
DogTest
(
String
name
,
String
description
,
String
environment
,
String
foodType
)
{
super
(
name
,
description
,
environment
,
foodType
);
}
}
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