En cours

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:

Person

(the super class)

String firstName

String lastName

String address

Employee

(extends from Person)

int employeeID

(between 101 & 999 is valid--

zero (0) is empty)

double payRate

(between [url removed, login to view] and [url removed, login to view] is valid--

zero (0.0) is empty)

--or--

Student

(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.

Compétences : Java

Voir plus : student extends person java, three p, struck, m string, sample coding java, get java, coding java, student java, java coding project, gpa, employee project java, project inheritance, validation double, project java coding, coding amp, amp coding, java string, java project inheritance, sample dropbox, inheritance java project, inheritance project java, value double, project inheritance java, project dropbox, student course

Concernant l'employeur :
( 2 commentaires ) sayville, United States

N° du projet : #1632465

Décerné à :

TheReason

Bidding as promised

45 $ USD en 1 jour
(5 Commentaires)
4.7

13 freelance ont fait une offre moyenne de 34 $ pour ce travail

IMSeriousBidder

Hello, Please check your PM Thanks

36 $ USD en 1 jour
(110 Commentaires)
7.4
dobreiiita

Hi, I am JAVA expert and can surely help you here, Please check your inbox,Thanks

30 $ USD en 1 jour
(244 Commentaires)
6.9
it2051229

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

30 $ USD en 1 jour
(366 Commentaires)
6.7
buzzcoder

HI kindly check your pm,thanks.

30 $ USD en 0 jours
(48 Commentaires)
5.7
csanuragjain

hi i can complete this in 1 hour contact if interested

30 $ USD en 1 jour
(22 Commentaires)
5.1
rakib062

Hi, I am a graduate in CS. I have done lots of similar projects both in academic courses and freelancer.com. I have clear OOP concepts like encapsulation,inheritence, polymorphism, Abstract methods and class etc. I as Plus

30 $ USD en 0 jours
(27 Commentaires)
4.9
minhtridn2001

I can do it for you! Thanks

30 $ USD en 0 jours
(21 Commentaires)
4.5
manhpham

I am Java expert. I am ready now...

40 $ USD en 1 jour
(18 Commentaires)
4.2
thariyarox

Ready to do this for you immediately. Thanks.

45 $ USD en 0 jours
(8 Commentaires)
3.2
chamanklalwani

Hi, I have completely read all the requirements mentioned in the document and the post.So do read my PM

30 $ USD en 1 jour
(2 Commentaires)
2.8
mike87

Hi, I am experienced Java Developer from Poland. I can do this within 3 hours. More details via PM

30 $ USD en 1 jour
(0 Commentaires)
0.0
JohnSchmit

Already Completed. please check your message box

30 $ USD en 0 jours
(0 Commentaires)
0.0