Question # 1: Employee Class Write a class named Employee that has the following

Question # 1: Employee Class
Write a class named Employee that has the following fields:
name. The name field references a String object that holds the employee’s name.
idNumber. The idNumber is an int variable that holds the employee’s ID number.
department. The department field references a String object that holds the name of
the department where the employee works.
position. The position field references a String object that holds the employee’s
job title.
The class should have the following constructors:
A constructor that accepts the following values as arguments and assigns them to the
appropriate fields: employee’s name, employee’s ID number, department, and position.
A constructor that accepts the following values as arguments and assigns them to the
appropriate fields: employee’s name and ID number. The department and position
fields should be assigned an empty string (“”).
A no-arg constructor that assigns empty strings (“”) to the name, department, and
position fields, and 0 to the idNumber field.
Write appropriate mutator methods that store values in these fields and accessor methods
that return the values in these fields. Once you have written the class, write a separate program
that creates three Employee objects to hold the following data:
Name ID Number Department Position
Susan Meyers 47899 Accounting Vice President
Mark Jones 39119 IT Programmer
Joy Rogers 81774 Manufacturing Engineer
The program should store this data in the three objects and then display the data for each
employee on the screen.
Question # 2: Days in a Month
Write a class named MonthDays. The class’s constructor should accept two arguments:
An integer for the month (1 = January, 2 = February, etc.).
An integer for the year
The class should have a method named getNumberOfDays that returns the number of days
in the specified month. The method should use the following criteria to identify leap years:
1. Determine whether the year is divisible by 100. If it is, then it is a leap year if and if
only it is divisible by 400. For example, 2000 is a leap year but 2100 is not.
2. If the year is not divisible by 100, then it is a leap year if and if only it is divisible by
4. For example, 2008 is a leap year but 2009 is not.
Demonstrate the class in a program that asks the user to enter the month (letting the user
enter an integer in the range of 1 through 12) and the year. The program should then display
the number of days in that month. Here is a sample run of the program:
Enter a month (1-12): 2 [Enter]
Enter a year: 2008 [Enter]
29 days
For each of the above questions, please submit the
Submit your java code (.java files) – You can either zip them all up or submit them individually
Take a screenshot of the file’s code and output, put it in a Word document with your name on it

Place this order or similar order and get an amazing discount. USE Discount code “GET20” for 20% discount