Commit e950d1af authored by Oliw2's avatar Oliw2

Just started, saving to gitlab

parents
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>ZooApplication</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.8
import java.util.ArrayList;
public class Bird {
ArrayList<String> Birds = new ArrayList<String>();
}
import java.util.ArrayList;
public class Fish {
ArrayList<String> Fish = new ArrayList<String>();
}
import java.util.ArrayList;
public class Mammal {
ArrayList<String> Mammals = new ArrayList<String>();
}
import java.util.ArrayList;
public class Reptile {
ArrayList<String> Reptiles = new ArrayList<String>();
}
import java.util.ArrayList;
import java.util.Scanner;
public class ZooApp {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.println("----- York St. John Zoo -----");
System.out.println("Type 1 to view Mammals");
System.out.println("Type 2 to view Reptiles");
System.out.println("Type 3 to view Birds");
System.out.println("Type 4 to view Fish");
System.out.print("Enter here: ");
}
}
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