EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
9th Edition
ISBN: 9781337671385
Author: FARRELL
Publisher: CENGAGE LEARNING - CONSIGNMENT
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
This is java question: Create a class named Bottle, which contains the following attributes: isFull (boolean), drinkType (ex: water), fillLevel (max: 100). Then, create a method called drink, which takes an argument of how much liquid the user drinks. When the user calls drink, subtract the amount drank from the fillLevel and make sure that isFull is set to false. Lastly, create a constructor that initializes the object as a full bottle containing water.
Can you write it in JAVA programming language Add a toString method to your Account class. For the purposes of this assignment, please use the toString display the following: This account contains $x. You have earned $y in the last month. where x is the account balance (please don't format the decimals) and y is the monthly interest earned, obtained from the getMonthlyInterest method. Compile and test in a driver by creating and printing an Account object. Add an equals method to your Account class. Two Account objects are equal if their balance and annualInterestRates are equal. Compile and test in your driver by creating 2 Account objects to see if they are equal.
Create a class called Complex for performing arithmetic with complex numbers. Complex numbers have the form realPart + imaginaryPart * i where i is -1 Write a program to test your class. Use floating-point variables to represent the private data of the class. Provide a constructor that enables an object of this class to be initialized when it is declared. Provide a no-argument constructor with default values in case no initializers are provided. Provide public methods that perform the following operations: a)  Add two Complex numbers: The real parts are added together and the imaginary parts are added together. b)  Subtract two Complex numbers: The real part of the right operand is subtracted from the real part of the left operand, and the imaginary part of the right operand is sub- tracted from the imaginary part of the left operand. c)  Print Complex numbers in the form (a, b), where a is the real part and b is the imaginary part.
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
    Microsoft Visual C#
    Computer Science
    ISBN:9781337102100
    Author:Joyce, Farrell.
    Publisher:Cengage Learning,
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
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
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