Question: Given the enum below: (6 points) enum Day {SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY} Answer the following questions. i) What is the name of

 Given the enum below: (6 points) enum Day {SUNDAY, MONDAY, TUESDAY,

Given the enum below: (6 points) enum Day {SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY} Answer the following questions. i) What is the name of the data type declared by this statement? ii) What are the enum constants for Day type, write the fully qualified names? iii) Write a statement that defines a variable of this type and initializes it with a valid value

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!