Create a class named as Recruitment which is derived from two base classes named as Basic qualification and interview. Basic qualification contains the Name, marks in last qualification, Interview class contains the marks obtained in interview. Recruitment class will display the message as recruited or not recruited. Criteria for recruitment is if the marks in last qualification is more than 80 and interview marks are greater than equal to 6 out of 10 for interview marks. Make sure that negative marks are not allowed.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter5: Making Decisions
Section: Chapter Questions
Problem 9PE
icon
Related questions
Question

Create a class named as Recruitment which is derived from two base classes named as
Basic qualification and interview. Basic qualification contains the Name, marks in last
qualification, Interview class contains the marks obtained in interview. Recruitment class
will display the message as recruited or not recruited. Criteria for recruitment is if the
marks in last qualification is more than 80 and interview marks are greater than equal to 6
out of 10 for interview marks. Make sure that negative marks are not allowed.

Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
JQuery and Javascript
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
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT