Answer to Question #277542 in Java | JSP | JSF for Jade

Question #277542

Create a Person class that implements the methods:

Person(name:String, address:string),

get name() : String.

getAddress(): String.

setAddress(address:String):void.

A person should have a last name and an address. It should also be possible to display this information using the toString() method.

Create a Student class that implements the methods:

Student (name:String, address: String, program:String, year:int, fee:double)

getProgram():String

setProgram(Program:String):void

getYear():int

setYear(year:int):void

getFee():double

setFee(fee:double):void

toString():String

Create a Staff class that implements the methods:

Staff(name:String, address:String, school:String, pay:double)

getSchool():String

setSchool(school:String):void

getPay():double

setPay(pay:double):void

Staff must have a school name (School) and a salary (pay). It should also be possible to display this information using the toString() method.


1
Expert's answer
2021-12-08T19:51:46-0500
Dear Jade, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS