Commit 8221c6f9 authored by ben.edgington's avatar ben.edgington

Origin

parents
import java.util.ArrayList;
public class Details {
public static void main (String[] args) {
ArrayList<String> details = new ArrayList<String>();
details.add("Turtles are aquatic reptiles that have webbed feet and hard shells. They have jaws that help them capture and tear apart food.");
details.add("Snakes have no limbs, moveable eyelids or ears. There are over 3000 species of snake and some are venomous.");
details.add("Lizards can range in size from 1.6cm to 3m.");
details.add("Parrots are the only animals in the world that can mimic human speech.");
details.add("Penguins huddle togehter to protect themselves from the cold harsh winds in Antarctica.");
details.add("Flamingos are filter feeders and must turn their heads upside down to eat.");
details.add("Axolotls can regenerate body parts such as spinal cords, skin and lung tissue.");
details.add("Frogs have excellent night vision and are extremely sensetive to movement.");
details.add("Toads do not have teeth so cannot chew their food so they swallow it whole.");
details.add("Giraffes are the tallest mammals in the world and can grow up to 5.5 meters.");
details.add("Lions are mainly found in Africa but a small population can be found in Western India.");
details.add("Tigers are the largest cat species in the world.");
details.add("Spiders can produce 7 different types of silk each used for different purposes.");
details.add("Jellyfish have no brain and are 98% water.");
details.add("Butterflies cannot fly if they're cold, their body temperature must be around 30 degrees celsius to be able to fly.");
System.out.println(details);
}
}
\ No newline at end of file
import java.util.ArrayList;
public class environment {
public static void main (String[] args) {
ArrayList<String> environment = new ArrayList<String>();
environment.add("Turtles can be found in oceans, coastal areas and even deserts.");
environment.add("Snakes live in forests, swamps, grasslands, deserts, fresh water and salt water.");
environment.add("Lizards live in all environments such as deserts and grasslands but cannot survive in extremely cold areas.");
environment.add("Parrots thrive in rainforests, savannas, grasslands and mildly arid regions.");
environment.add("Penguins are only found in the southern hemisphere in cold environments.");
environment.add("Flamingos are found in saltwater lakes and lagoons.");
environment.add("Axolotls are native to Lake Xochimilco in Mexico where the water is a mix of fresh water and salt water.");
environment.add("Frogs survive in wetlands, woodlands and grassy areas.");
environment.add("Toads live in open environments like fields and grasslands.");
environment.add("Giraffes live in grasslands, savannas and open woodlands.");
environment.add("Lions are mainly found in savannas, dense scrub, open woodland and grassland.");
environment.add("Tigers are found in rainforests, grasslands, savannas and mangrove swamps.");
environment.add("Spiders can be found in all environments ranging from deserts to rainforests.");
environment.add("Jellyfish are mainly found in coastal regions but can also be found in the deep sea and arctic waters.");
environment.add("Butterflies are generally found in open sunny grasslands and woods.");
System.out.println(environment);
}
}
\ No newline at end of file
import java.util.ArrayList;
public class Food {
public static void main (String[] args) {
ArrayList<String> food = new ArrayList<String>();
food.add("Turtles eat insects, worms, fish and vegetables such as kale.");
food.add("Snakes can eat smaller animals like insects and amphibians or larger animals like rabbits and rodents.");
food.add("Lizards eat insects such as crickets, grasshoppers and ants.");
food.add("Parrots eat fresh fruit, seeds and nuts.");
food.add("Penguins eat fish, krill and squid.");
food.add("Flamingos eat algae, seeds, shrimp and fly larvae.");
food.add("Axolotls eat worms, insects and small fish.");
food.add("Frogs mainly eat insects.");
food.add("Toads eat insects.");
food.add("Giraffes eat small plants and grass.");
food.add("Lions eat animals such as wildebeests, zebras and antelopes.");
food.add("Tigers eat animals such as sambar deer, wild pigs, buffalo and antelopes.");
food.add("Spiders eat insects and birds.");
food.add("Jellyfish eat anything from shrimp to small fish.");
food.add("Butterflies eat nectar and fruit.");
System.out.println(food);
}
}
\ No newline at end of file
import java.util.ArrayList;
public class Names{
public static void main(String[] args) {
ArrayList<String> animals = new
ArrayList<String> ();
animals.add("Turtles");
animals.add("Snakes");
animals.add("Lizards");
animals.add("Parrots");
animals.add("Penguins");
animals.add("Flamingos");
animals.add("Axolotls");
animals.add("Frogs");
animals.add("Toads");
animals.add("Giraffes");
animals.add("Lions");
animals.add("Tigers");
animals.add("Spiders");
animals.add("Jellyfish");
animals.add("Butterflies");
System.out.println(animals);
}
}
\ No newline at end of file
import java.util.ArrayList;
public class Types{
public static void main (String[] args) {
ArrayList<String> type = new ArrayList<String>();
type.add("Turtles are reptiles");
type.add("Snakes are reptiles");
type.add("Lizards are reptiles");
type.add("Parrots are birds");
type.add("Penguins are birds");
type.add("Flamingos are birds");
type.add("Avolotls are amphibians");
type.add("Frogs are amphibians");
type.add("Toads are amphibians");
type.add("Giraffes are mammals");
type.add("Lions are mammals");
type.add("Tigers are mammals");
type.add("Spiders are invertebrates");
type.add("Jellyfish are invertebrates");
type.add("Butterflies are invertebrates");
System.out.println(type);
}
}
\ No newline at end of file
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