Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need the main code for this program and the invok to Strong methods for all three and UML Homework: Homework 1- Implement the previous

image text in transcribed
I need the main code for this program and the invok to Strong methods for all three and UML Homework: Homework 1- Implement the previous five classes: a) Create the previous five classes in Exercise 1 in Java. (Hins: use the UML digram) b) Write a test program to creates objects from the Student, Faculty and Staff classes, and then invokes toString() methods for all three class Person private String public string getName() return public void setName(string) =)) class student extends Person private long studentida Student (long studentId, String ) this studenti studentida super.stane) public String tostring) return super.getName) this contidos student class clare Employee extende Person private int sployees public int getoployeeld) return employed public void setployeerd (int sployecto this.ployed played class Faculty extendemployee private string ranks Faculty tint employeeid, string name, string ranks super.sc.ployeed employed super.stane name this.tank-tanke public string tostring) Cet en super.get) wuper gotteployed this.sanki o vaculty car class statt extends toployee private string title startint employeeld string name, string title super.setEmployeed employed super.setName(n) this.title-titles public string touring) return super.getme super.getEmployed I need the main code for this program and the invok to Strong methods for all three and UML Homework: Homework 1- Implement the previous five classes: a) Create the previous five classes in Exercise 1 in Java. (Hins: use the UML digram) b) Write a test program to creates objects from the Student, Faculty and Staff classes, and then invokes toString() methods for all three class Person private String public string getName() return public void setName(string) =)) class student extends Person private long studentida Student (long studentId, String ) this studenti studentida super.stane) public String tostring) return super.getName) this contidos student class clare Employee extende Person private int sployees public int getoployeeld) return employed public void setployeerd (int sployecto this.ployed played class Faculty extendemployee private string ranks Faculty tint employeeid, string name, string ranks super.sc.ployeed employed super.stane name this.tank-tanke public string tostring) Cet en super.get) wuper gotteployed this.sanki o vaculty car class statt extends toployee private string title startint employeeld string name, string title super.setEmployeed employed super.setName(n) this.title-titles public string touring) return super.getme super.getEmployed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Marketing Database Analytics

Authors: Andrew D. Banasiewicz

1st Edition

0415657881, 978-0415657884

More Books

Students also viewed these Databases questions

Question

Understand how customers respond to effective service recovery.

Answered: 1 week ago

Question

Know the principles of effective service recovery systems.

Answered: 1 week ago