Briefly explain difference between an instance variable and a local variable. 2. Briefly explain the math class
Question:
Briefly explain difference between an instance variable and a local variable. 2. Briefly explain the math class in Java. 3. create a java program to implement a part of a payroll system, that will display the information about employees and payments. a) Prompt the user to enter the name of the employee b) Prompt the user to enter the employee ID c) Prompt the user to select between full-time and part-time d) If the employee is working full-time, display the following options for the user Full-Time Employee Company Experience 1. Less than 1 year 2. 1 - 2 years 3. 2 - 3 years 4. More than 3 years Enter Your Option: [ Option 1: Rs .30 000, Option 2: Rs. 45 000, Option 3: Rs.60 000, Option 4: Rs.70 000] e. Display an error message for an invalid option number f. If the employee is working part-time, 1. Prompt the user to enter the rate per hour 2. Prompt the user to enter the number of working hours and overtime hours [ Company pays 110% for extra overtime hour] g. The company rate per hour should be between Rs. 500 - Rs.1000. Display an error message for invalid rates. h. Display the employee's name, employee ID, and employee's monthly salary
Applied Regression Analysis and Other Multivariable Methods
ISBN: 978-1285051086
5th edition
Authors: David G. Kleinbaum, Lawrence L. Kupper, Azhar Nizam, Eli S. Rosenberg