1. Declare a static constant to represent a sales tax rate of 9.25 percent. 2. When would you declare a class’s data field to be final? 3. Define an enumeration that defines the days of the week. a....


1. Declare a static constant to represent a sales tax rate of 9.25 percent.


2. When would you declare a class’s data field to be final?


3. Define an enumeration that defines the days of the week.


a. Write a Java statement to access Wednesday from the enumeration.


b. What is the ordinal value of Wednesday?


c. What Java expression would give you the ordinal value of Wednesday?



May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here