Question: table [ [ , Su , M , T , W , Th , F , Sa ] , [ Employee 0 , 2
tableSuMTWThFSaEmployee Employee Employee Employee Tasks
Topic : Java Basics
Palindrome checker Implement the following method headers with the required functions:
public static int reverseint number Return the reversal of an integer, eg reverse returns
public static boolean isPalindromeint number Return true if number is a palindrome
Use the reverse method to implement isPalindrome because a number is a palindrome if its reversal is the same
as itself. Note that in the reverse method you must convert the integer number to a String first for reversal and then
convert it back to an integer number other nonstring ways are not acceptable Write a test main program that
prompts the user to enter several integers ending with a number denotes the end of console user input and
reports whether those integers are palindrome or not.
Here is a sample run:
Enter integers for palindrome testing:
true true false
Star Employees and Busiest Days The weekly casual work hours for all employees are stored in a
twodimensional array rows columns as shown below. Each row records a corresponding employee's
day work hours. Write a program to work out and display the star employees who work the most hours across
a week there can be more than one star employee to display and similarly the busiest days also can be more
than one that need the most total employmentwork hours from all employees. For instance, in the following,
Employee is the star employee who works hours in a week and Sunday is the busiest day that requires
employees to work at a total of hours.
java program
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
