MindTapV2.0 for Farrell's Java Programming with 2021 Updates, 9th Edition [Instant Access], 1 term
MindTapV2.0 for Farrell's Java Programming with 2021 Updates, 9th Edition [Instant Access], 1 term
9th Edition
ISBN: 9780357505540
Author: Farrell; Joyce
Publisher: Cengage Learning US
bartleby

Videos

Question
Book Icon
Chapter 5, Problem 7PE
Program Plan Intro

Job application

Program plan:

  • In a file “JobApplicant.java”, create a class “JobApplicant”,
    • Declare the necessary variables.
    • Define the constructor,
      • Assign the initial values for the job applicant.
    • Define the method “get_Name()”,
      • Return the name.
    • Define the method “get_Phone()”,
      • Return the phone number.
    • Define the method “get_HasWordSkill()”,
      • Return the Boolean value.
    • Define the method “get_HasSpreadsheetSkill()”,
      • Return the Boolean value.
    • Define the method “get_HasDatabaseSkill()”,
      • Return the Boolean value.
    • Define the method “get_HasGraphicsSkill()”,
      • Return the Boolean value.
  • In a file “TestJobApplicants.java”, create a class “TestJobApplicants”,
    • Define the method “main ()”,
      • Call the constructor “JobApplicant()” that instantiates several job applicant objects.
      • Assign the text messages.
      • Execute for “true” statement for the first applicant.
        • Call the method “display1()” with qualified message.
          • Otherwise, call the method “display1()” with non-qualified message.
          • Execute for “true” statement for the second applicant.
            • Call the method “display1()” with qualified message.
          • Otherwise, call the method “display1()” with non-qualified message.
          • Execute for “true” statement for the third applicant.
            • Call the method “display1()” with qualified message.
          • Otherwise, call the method “display1()” with non-qualified message.
          • Execute for “true” statement for the fourth applicant.
            • Call the method “display1()” with qualified message.
          • Otherwise, call the method “display1()” with non-qualified message.
    • Define the method “is_Qualified()” that accepts each job applicant properties,
      • Set the count to “0”.
      • Declare Boolean variable.
      • Declare the final variable.
      • Execute for the Boolean value at “word”,
        • Increment the count by “1”.
          • Execute for the Boolean value at “sp”,
            • Increment the count by “1”.
          • Execute for the Boolean value at “db”,
            • Increment the count by “1”.
          • Execute for the Boolean value at “gr”,
            • Increment the count by “1”.
          • Check whether the count is greater than or equal to minimum number of skills,
            • If it is true, set the Boolean value to “true”.
          • Otherwise, set the Boolean value to “false”.
          • Return the Boolean value.
    • Define the method “display1()”,
      • Print the output.

Blurred answer
Students have asked these similar questions
In cell C21, enter a formula to calculate the number of miles you expect to drive each month. Divide the value of number of miles (cell A5 from the Data sheet) by the average MPG for the vehicle multiplied by the price of a gallon of gas (cell A6 from the Data sheet).
Microsoft Excel
In cell C16, enter a formula to calculate the price of the vehicle minus your available cash (from cell A3 in the Data worksheet). Use absolute references where appropriate—you will be copying this formula across the row what fomula would i use and how do i solve it
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781305480537
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
Text book image
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
Text book image
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Memory Management Tutorial in Java | Java Stack vs Heap | Java Training | Edureka; Author: edureka!;https://www.youtube.com/watch?v=fM8yj93X80s;License: Standard YouTube License, CC-BY