Question: Unit 5 Programming Excercise 5-7 Need 2 different codes 1 for part A, and 1 for Part B. both need to be in JAVA Create

Unit 5 Programming Excercise 5-7 Need 2 different codes 1 for part A, and 1 for Part B. both need to be in JAVA

 Unit 5 Programming Excercise 5-7 Need 2 different codes 1 for

part A, and 1 for Part B. both need to be in

JAVA Create a class named JobApplicant that holds dat. about a job

applicant. Include a name as name, a pho number as phone, and

Create a class named JobApplicant that holds dat. about a job applicant. Include a name as name, a pho number as phone, and four Boolean fields that represent whether the applicant is skilled in each of th following areas: word processing as hasWordSkill. spreadsheets as hasSpreadsheetSkill, databases hasDatabaseskill, and graphics as hasGraphicsskill. Tasks Create the JobApplicant class. Add the data fields to the JobApplicant class. Include a blank constructor that takes no arguments an an overloaded constructor that accepts values for each of the fields. Task Define a blank constructor with no arguments and an overloaded constructor for the JobApplicant class. Also include a get method for each field. Tasks Create the JobApplicant class. Add the data fields to the JobApplicant class. > Include a blank constructor that takes no arguments and an overloaded constructor that accepts values for each of the fields. Task Define a blank constructor with no arguments and an overloaded constructor for the JobApplicant class. Also include a.get method for each field. Aasks Define get methods for the name and phone data fields. Define get methods for hasWordSkill. hasSpreadsheetSkil1, hasDatabaseSkill. and hasGraphicsSkill data fields. 2/3 Create an application called TestJobApplicants that instantiates three JobApplicant objects in the main ( ) method. Pass each object, in turn, to a method called getData( ) that gets user data for each field: the user enters Strings for the name and phone number. and enters four integers that indicate whether the applicant possesses each of the four skills. Return a complete JobApplicant object to the main() method. Tasks Create the TestJobApplicants class. Define the getData() method of the TestJobApplicants class. After the objects are returned to the main() method, pass each to a boolean method called isQualified() that determines whether an applicant is qualified for an interview and returns true or false. A qualified applicant has at least three of the four skills. Then, in the main( ) method, display a message that includes the applicant's name, phone number, and whether the applicant is qualified. An example of the program is shown below: An example of the program is shown below: Enter applicant's name > John Smith Enter applicant's phone number >4567890 Is applicant skilled in word processing? Enter 1 for yes or 2 for no 1 Is applicant skilled in spreadsheet? Enter 1 for yes or 2 for no 1 Is applicant skilled in database? Enter 1 for yes or 2 for no 2 Is applicant skilled in graphics? Enter 1 for yes or 2 for no 2 John Smith is not qualified for an interview z Jane Doe is not qualified for an interview at Iris is qualified for an interview Phone: 766 Task Define the isQualified() method of the TestJobApplicants class

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!