63 088
Assignments Done
99,1%
Successfully Done
In July 2018

Answer to Question #38480 in Other Programming & Computer Science for tofik mohamed

Question #38480
Programming Data Structures
# 1
2. A student is a person, and so is an employee. Create a class person that has the data attribute common to both students and employees (name, social security number, age, gender, address, and telephone number) and appropriate method definitions. A student has a grade-point average (GPA), major, and year of graduation. An employee has a department, job title, and year of hire. In addition, employees (hourly rate, hours worked, and union dues) and salaried employees (annual salary). Define a class hierarchy and write and application class that you can use to first store the data for an array of people and then display that information in a meaningful way.

After testing, submit your solution


#2
Write code for a method
Public static Boolean sameElements (int [ ] a, int [ ] b)
That checks whether two arrays have the same elements in some order, with the same multiplicities. For example, two arrays
121 144 19 161 19 144 19 11
And
11 121 144 19 161 19 144 19
Would be considered
Expert's answer

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 first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions