Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
Zoo Application
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
oliver.warrilow
Zoo Application
Commits
dc309287
Commit
dc309287
authored
Apr 22, 2020
by
Oliw2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Runs without errors, missing some features
parent
f426f1d5
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
5 additions
and
10 deletions
+5
-10
Animal.java
src/Animal.java
+0
-5
Bird.java
src/Bird.java
+1
-1
Fish_C.java
src/Fish_C.java
+1
-1
Mammal.java
src/Mammal.java
+1
-1
Reptile.java
src/Reptile.java
+1
-1
everyAnimal.java
src/everyAnimal.java
+1
-1
No files found.
src/Animal.java
View file @
dc309287
...
@@ -72,8 +72,3 @@ public class Animal {
...
@@ -72,8 +72,3 @@ public class Animal {
}
}
}
}
}
}
/*
*
*
*/
src/Bird.java
View file @
dc309287
src/Fish_C.java
View file @
dc309287
src/Mammal.java
View file @
dc309287
src/Reptile.java
View file @
dc309287
src/everyAnimal.java
View file @
dc309287
...
@@ -6,7 +6,7 @@ public class everyAnimal extends Animal {
...
@@ -6,7 +6,7 @@ public class everyAnimal extends Animal {
{
{
int
size
=
allAnimals
.
size
();
int
size
=
allAnimals
.
size
();
System
.
out
.
println
(
"\n-- "
+
animal
+
" --"
);
System
.
out
.
println
(
"\n
-- "
+
animal
+
" --"
);
if
(
animal
.
contentEquals
(
"All"
))
if
(
animal
.
contentEquals
(
"All"
))
{
{
for
(
int
i
=
0
;
i
<
size
;
i
++)
for
(
int
i
=
0
;
i
<
size
;
i
++)
...
...
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