Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Bottom section is the what they expect in the code in java Create a class in JobApplicant.java that holds data about a job applicant. Include

Bottom section is the what they expect in the code in java

Create a class in JobApplicant.java that holds data about a job applicant. Include a name, a phone number, and four Boolean fields that represent whether the applicant is skilled in each of the following areas: word processing, spreadsheets, databases, and graphics. Include a constructor that accepts values for each of the fields. Also include a get method for each field. The get method should be the field name prefixed with 'get'. For example, the get method for name should be called getName. Create an application in TestJobApplicants.java that instantiates several job applicant objects and pass each in turn to a Boolean method named isQualified that determines whether each applicant is qualified for an interview. Then, in the main() method, display an appropriate method for each applicant. A qualified applicant has at least three of the four skills. Grading Write your Java code in the area on the right. Use the Run button to compile and run the code. Clicking the Run Checks button will run pre-configured tests against your code to calculate a grade. Once you are happy with your results, click the Submit button to record your score.

public class JobApplicant { private String name; private String phone; private boolean hasWordSkill; private boolean hasSpreadsheetSkill; private boolean hasDatabaseSkill; private boolean hasGraphicsSkill; public JobApplicant(String name, String phone, boolean w, boolean s, boolean d, boolean g) { } public String getName() { } public String getPhone() { } public boolean getHasWordSkill() { } public boolean getHasSpreadsheetSkill() { } public boolean getHasDatabaseSkill() { } public boolean getHasGraphicsSkill() { } }

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

Database Marketing The Ultimate Marketing Tool

Authors: Edward L. Nash

1st Edition

0070460639, 978-0070460638

Students also viewed these Databases questions