Questions 1–3 refer to the Time class
Questions 5–8 refer to the following Date class.
9. See below:
10. What will be print out by this program?
11. Design and code a class Money to handle both CND and USD. Your code should include:
all private instance variables
one static double variable that save the exchange rate from USD to CND, assume this variable has the updated rate, which is 1.5
two constructors
all setters and getters
public double toCND( ) method which always return the money value in CND
public double toUSD( ) method which always return the money value in USD
Please email your answer to sfo.lax6776@gmail.com by 19:00 September 16, 2021. Answers to 1-10 should be clearly labeled by question number. Question 11 should be submitted as a link to your code in repl.it.
Here are the answers to 1-10:
1.D 2.B 3.E 4.C 5.B 6.C 7.E 8.E 9.B
10. 9 27
6 3
11. https://replit.com/@APCS21-22/Chapter1Test#Money.java