Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Programming02
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
paolo.tokam
Programming02
Commits
0991d252
Commit
0991d252
authored
May 16, 2022
by
paolo.tokam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
52b99bf2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
zoo2.java
zoo2.java
+28
-0
No files found.
zoo2.java
0 → 100644
View file @
0991d252
import
java.util.ArrayList
;
public
class
zoo2
{
public
static
void
main
(
String
[]
args
)
{
ArrayList
<
String
>
FoodAnimals
=
new
ArrayList
<
String
>
();
FoodAnimals
.
add
(
"Vertebrates; They survive on chickens, cows, pigs and fish."
);
FoodAnimals
.
add
(
"Insects; Roots and seeds."
);
FoodAnimals
.
add
(
"Reptiles; Feeds on insects, birds and frogs."
);
FoodAnimals
.
add
(
"Amphibian; Bugs, slugs and snails."
);
FoodAnimals
.
add
(
"Red poll; Catkins, seeds and bugs."
);
FoodAnimals
.
add
(
"Sea urchins; Kelp, periwinkles, and sometimes even barnacles."
);
FoodAnimals
.
add
(
"Box jellyfish: Fish, crustaceans, marine larvae, and plankton. "
);
FoodAnimals
.
add
(
"Arthropod; Detritus, algae, or animals."
);
FoodAnimals
.
add
(
"Mollusca; Microscopic and filamentous algae "
);
FoodAnimals
.
add
(
"Comb jellies; Fish, shrimp, crabs, and tiny plants."
);
System
.
out
.
println
(
FoodAnimals
);
}
}
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