Question: java language pls. A. Create a Person class in a package called Uno: . With three attributes that store: i. Name 11. A Medicare ID

 java language pls. A. Create a Person class in a package java language pls.

A. Create a Person class in a package called Uno: . With three attributes that store: i. Name 11. A Medicare ID which changes every time a new Person is created A static Calorie intake of 2000 Calories a day b.toString method which returns a String that indicates the person's Medicare ID name, and their Calorie intake per day B. Create a Student class in a package called Duo that extends Person, with: a. One attribute that stores the student's number of study hours b. A static attribute that includes the Caloric In-take of 500 more Calories than a person c. A toString method that indicates the person's Medicare ID name, their Calorie intake per day, as well as the number of hours they spend studying C. Create a Employee class in a package called Duo that extends person, with: a. A toString0 method that returns a String containing i. Name 11. The Medicare ID 1. A Calorie intake of 3000 Calories a day IV. "I don't have to study. HA!" D. Create a Driver class: a Create an array of Students and Employees b. Print each object in the array to the screen

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!