Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Java expert please help me out the Java program below. Here is a simple requirem

ID: 3822617 • Letter: J

Question

Java expert please help me out the Java program below. Here is a simple requirement, you can build the program base on your idea.

Need a Java class store animal data in the array list.

+Auto generate AnimalID base on hit add button on GUI.

+AnimalName (user input name of animals)

+Class of AnimalType store data mammals, birds, fish, reptiles, amphibians. User pick one of 5 Animal Types

+Class of AnimalRegion store data Africa, Aviary, and NorthAmerica. User pick one of 3 Animal Region

Another class can Add, Remove, or Update animal data, that bases on animal ID

You can build Graphical user interface (GUI) base on JavaFX but using Swing is fine too.

Here is an idea of GUI

Textbox Animal ID Field Animal Name Field Animal Type Dropbox Field mammals birds fish reptiles amphibians Animal Region Dropbox Field Africa Aviary North America Add Button Auto generate Animal ID, and add Animal Name, Animal Type, and Animal Region into array list. And show the animal inside the display box Update Button Add Button Remove Button Animal ID I Animal Name IAnimal Type I Animal Region Elephant mammals Africa -H Remove an animal base on Animal ID Update an animal base on Animal ID List all animals from array list.

Explanation / Answer

public class Animal
{
private String name;
private string country;
private boolean gender;
}

public interface Animal
{
public void play();
public void move();
public void eat();
public void sleep();
}

public class Reptiles
{
public void move() {
System.out.println("faster!");
}
}

public class Birds
{
public void move()
{
System.out.println("slow slow");
}
}

public class Amphibians
{
public void move() {
System.out.println("moves with sound");
}
}

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote