Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help in JAVA RNZ Company hires two categories of programmer which are full-time and part-time programmers. This company requests a computer system to store

Please help in JAVA

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

RNZ Company hires two categories of programmer which are full-time and part-time programmers. This company requests a computer system to store the data and calculate the payment for these programmers. Given the UML diagram for the system. Given the detail for the Programmer class which is an abstract class: Attribute: name:String ICNumber:String age:int Behavior: /ormal constructor //retriever method //tostring method calcPayment (): double //abstract method Full time programmer will receive an extra of RM 500.00 for every one hour of overtime, but it is limited up to 5 hours*/ Given the detail for the PartTime class: Attribute: numofmodule:int /umber of modules Behavior: /ormal constructor //retriever method //tostring method //calcPayment () / This method will calculate and return the payment for part time programmer. They will pay RM 1500 for each module.*/ Your program should have the following item: a) Class definition for Programmer, PartTime and Fulltime. b) Definition of method calcPayment () c) Define a main method that can do the following tasks: i. Create an array to store 10 objects of Programmer. ii. Insert and store data into the array. iii. Display all programmer information. iv. Display the payment should be paid for each full time programmer and total payment for all full time programmers. v. Count and display the number of full time programmer who has experience more than 3 years. vi. Display all information and the highest number of modules by the part time programmer

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

Students also viewed these Databases questions

Question

Stages of a Relationship?

Answered: 1 week ago