Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a Class JobPosition which have fields as array of skills, experience,and salary 2) Create a Class Customer which have fields as CustomerName, userid, array

  1. Create a Class JobPosition which have fields as array of skills, experience,and salary

2) Create a Class Customer which have fields as CustomerName, userid, array of skills and experience

3) Create a Class JobPortal which has JobPosition array and customer array.

4) Create a Class Marketing which has JobPortal and three parameterized method listed below :

a) addJobs : take skills, experience and salary to Marketing.JobPortal.jobposition array

b) addCustomer : take userid,skills, experience to Marketing.JobPortal.customer array

c) searchJob( userid )

a) pull skills and experience from Marketing.JobPortal.customer array using the input userid

b) split skills one by one and search through Marketing.JobPortal.jobposition array

c) return subset of JobPosition array that matches skills.

5) Create a Test class which have mainMethod() (2 Marks)

Output :

  1. Sort the Customer with names in Alphabetical order
  2. Print Customer userId and (matching skills from JobPosition)

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_2

Step: 3

blur-text-image_3

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

Database Systems An Application Oriented Approach Complete Version

Authors: Michael Kifer, Arthur Bernstein, Richard Lewis

2nd Edition

0321268458, 978-0321268457

More Books

Students also viewed these Databases questions

Question

5. Do you have any foreign language proficiency?

Answered: 1 week ago