Đã Đóng

JAVA 10 & 11

must be done by 4pm today

Project 10: Chapter 8

Inheritance--The Person/Employee/Student Classes

Create a "person-employee-student" project with two class files, a superclass and a subclass, as per the follow specifications:


(the super class)

String firstName

String lastName

String address


(extends from Person)

int employeeID

(between 101 & 999 is valid--

zero (0) is empty)

double payRate

(between 7.50 and 75.00 is valid--

zero (0.0) is empty)



(extends from Person)

int creditsTaken

(between 1 and 199 is valid--

zero (0) is empty

double gpa

(between zero (0.0) and 4.0 is valid--

minus one (-1.0) is empty)

--Write either the Employee or Student subclass, not both--

The superclass (Person) contains three instance variables (fields) and the subclass (either Employee or Student) will contain two instance variables (fields) so that effectively either subclass will have five variables, two of its own and the three it inherits from its superclass.

Both classes should have two constructors:

The superclass has one that takes no arguments and passes empty strings to the three set methods for its instance variables, and another that takes three String arguments and passes those values to the three set methods.

The subclass (either Employee or Student) includes a no argument constructor which passes zero (0) values to the set methods for its instance variables, as well a constructor that takes five arguments, three Strings which it passes immediately to the superclass constructor that takes three String arguments, and two numeric variables, an int and a double, which values it passes to the two set methods for its instance variables.

All classes should have a set method (which contains the validation coding where appropriate based on the validation rules specified above; there are default values for each of the subclass variables to indicate a null/empty value) and a get method for each of its instance variables.

Simply complete the two files above, the superclass and the subclass (either Employee or Student). Do not write a driver class.

Provide full documentation in the manner of the downloaded sample files for the unit; the superclass and subclass documentation should follow Javadoc standards including stating the validation rules, i.e. valid ranges and/or values, for the set methods.

The completed project with a copy of the two (2) classes (the .java files), "[url removed, login to view]" and either "[url removed, login to view]" or "[url removed, login to view]", submitted electronically via attachments to a Desire2Learn dropbox is due to Prof. Struck by 11:59 p.m. on the date specified in the course outline.

Kĩ năng: Java

Xem nhiều hơn: employeeid java java, three p, struck, m string, java string class documentation, java 1.4 documentation, sample coding in java, get java, coding in java, student java, java coding project, gpa, documentation java, employee project java, class full address, project inheritance, validation double, project documentation java, documentation java project, java project classes, project java coding, unit class, coding amp, java project class, double double

Về Bên Thuê:
( 0 nhận xét ) ludhiana, India

ID dự án: #1633891

14 freelancer đang chào giá trung bình $51 cho công việc này


Hi, I am JAVA expert and can surely help you [login to view URL]

$40 USD trong 0 ngày
(243 Nhận xét)

Hi, kindly check your inbox for my inquiries. Thanks.

$30 USD trong 0 ngày
(364 Nhận xét)

I can deliver it within 4 pm today. Hope you wont loose too much time to decide. Let me know if you are interested.

$50 USD trong 0 ngày
(39 Nhận xét)

hi i can do this contact if interested

$30 USD trong 1 ngày
(22 Nhận xét)

The best service for you! Thanks

$30 USD trong 1 ngày
(21 Nhận xét)

Please check PMB

$30 USD trong 0 ngày
(8 Nhận xét)

Hi, I am really interested in creating this project for you! I can make it in an hour after you give me the project. Let me know if you are interested! Kind regards!

$30 USD trong 0 ngày
(2 Nhận xét)

I can do this work [login to view URL] check PMB.

$30 USD trong 1 ngày
(2 Nhận xét)

Hi, I would like to do this project. Hope will have a healthy business in future. Thank you.

$50 USD trong 5 ngày
(0 Nhận xét)

I have four years of developing Java applications and a great deal of experience on object-oriented programming and inheritance. Your task is very easy for me. Thank you

$30 USD trong 0 ngày
(0 Nhận xét)

already completed,can send the 2 files when ever you need

$50 USD trong 1 ngày
(0 Nhận xét)

hi we are a team of NIIT from bangalore, defenitely we are going to complete this project in less than 1 hr after appointed...thankyou

$30 USD trong 0 ngày
(0 Nhận xét)

Your project is almost done. Just need to ask something regarding validation.

$30 USD trong 1 ngày
(0 Nhận xét)

i can complete this job withing few hours.

$250 USD trong 1 ngày
(0 Nhận xét)