java code 497575
Develop a system that keeps track of preschool students. There are four types
of preschoolers: Guppies, who are two; Puppies, who are three; Tigers, who are
four; and Lions, who are five.
Each group needs a special list of school materials. Guppies need paste and
colored paper. Puppies need paste, colored paper, and rulers. Tigers need
the supplies of the younger students plus a notebook and pencil. Lions need
all of this and scissors.
Ms. Smith teaches the Guppies and Puppies. Ms. Jones teaches the Tigers. Ms.
Anderson teaches the Lions.
Your system should capture the name, age, and school group (which is determined by
age) of “n” number of preschoolers. Note that if the user does not enter a school group,
the group appropriate for that age should be added for the student.
Each type of student (Guppies, Puppies, etc.) should be separate
classes that all inherit from a common parent, “preschoolStudent”. The parent
class should have defaults for each of the data variables and methods needed.
Your application should store the individual objects in an ArrayList, and should
allow the inputing of “n” number of records. The only attributes that the user
must input are the name and age of each entered student (be sure to handle
the entry of different data types with a try catch block). Group is optional, with the
system ascertaining the appropriate preschool class for each one.
Your application should also print out a report that groups each class, with the
teacher and students, along with the supply list.
Example (Data entry):
Name: Timmy Jones
Age: 4
Name: Suzy Smith
Age: 5
Name: Mikey Nesmith
Age: 2
Name: Pablo Garcia
Age: 4
Group: Tiger
(Print out):
Guppies Ms. Smith
Mikey Nesmith
Supplies needed: …
Puppies Ms. Smith
Supplies needed: …
Tigers Ms. Jones
Timmy Jones
Supplies needed: …
Lions Ms. Anderson
Suzy Smith
Pablo Garcia
Supplies needed: …
We've got everything to become your favourite writing service
Money back guarantee
Your money is safe. Even if we fail to satisfy your expectations, you can always request a refund and get your money back.
Confidentiality
We don’t share your private information with anyone. What happens on our website stays on our website.
Our service is legit
We provide you with a sample paper on the topic you need, and this kind of academic assistance is perfectly legitimate.
Get a plagiarism-free paper
We check every paper with our plagiarism-detection software, so you get a unique paper written for your particular purposes.
We can help with urgent tasks
Need a paper tomorrow? We can write it even while you’re sleeping. Place an order now and get your paper in 8 hours.
Pay a fair price
Our prices depend on urgency. If you want a cheap essay, place your order in advance. Our prices start from $11 per page.