Commit dc309287 authored by Oliw2's avatar Oliw2

Runs without errors, missing some features

parent f426f1d5
......@@ -72,8 +72,3 @@ public class Animal {
}
}
}
/*
*
*
*/
......@@ -39,7 +39,7 @@ public class Bird extends Animal {
{
System.out.println("\n-- Owl - info --");
System.out.println("Owls are birds from the order Strigiformes,\n"
+ "which includes over 200 species of mostly solitary and nocturnal birds of prey typified by an upright stance,\n"
+ "which includes over 200 species of mostly solitary and nocturnal birds of prey typified by an upright stance,\n"
+ "a large, broad head, binocular vision, binaural hearing, sharp talons, and feathers adapted for silent flight.");
System.out.println("\n-- Owl - habitat --");
......
......@@ -38,7 +38,7 @@ public class Fish_C extends Animal {
public static void FightingFishDescription()
{
System.out.println("\n-- Siamese Fighting Fish - info --");
System.out.println("The Siamese fighting fish, also known as the betta, is a popular fish in the aquarium trade.\n"
System.out.println("The Siamese fighting fish, also known as the betta, is a popular fish in the aquarium trade.\n"
+ "Bettas are a member of the gourami family and are known to be highly territorial.\n"
+ "Males in particular are prone to high levels of aggression and will attack each other if housed in the same tank.");
......
......@@ -44,7 +44,7 @@ public class Mammal extends Animal
+ "It is an apex predator, primarily preying on ungulates such as deer and wild boar.\n");
System.out.println("-- Tiger - habitat --");
System.out.println("Tigers occupy a variety of habitats from tropical forests,\n"
System.out.println("Tigers occupy a variety of habitats from tropical forests,\n"
+ "evergreen forests, woodlands and mangrove swamps to grasslands,\n"
+ "savannah and rocky country.");
......
......@@ -39,7 +39,7 @@ public class Reptile extends Animal {
{
System.out.println("\n-- Komodo Dragon - info --");
System.out.println("Reaching up to 10 feet in length and more than 300 pounds, Komodo dragons are the heaviest lizards on Earth./n"
+ "They have long, flat heads with rounded snouts, scaly skin, bowed legs, and huge, muscular tails.");
+ "They have long, flat heads with rounded snouts, scaly skin, bowed legs, and huge, muscular tails.");
System.out.println("-- Komodo Dragon - habitat --");
System.out.println("Komodo dragons have thrived in the harsh climate of Indonesia's Lesser Sunda Islands for millions of years.\n"
......
......@@ -6,7 +6,7 @@ public class everyAnimal extends Animal {
{
int size = allAnimals.size();
System.out.println("\n-- " + animal + " --");
System.out.println("\n -- " + animal + " --");
if(animal.contentEquals("All"))
{
for(int i = 0; i < size; i++)
......
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