Commit 0991d252 authored by paolo.tokam's avatar paolo.tokam

Upload New File

parent 52b99bf2
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);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment