Skip to content

Commit 3ca3222

Browse files
committed
Reviewed Chap 5 Rev Qs Attempt 5 (95%)
1 parent aeff085 commit 3ca3222

File tree

4 files changed

+472
-13
lines changed

4 files changed

+472
-13
lines changed

src/chapter_5/README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616

1717
### 🎯 Exam Objectives 🎯
1818

19-
* Use Java SE 8 Date/Time API
20-
- Create and manage date and time based events using a combination of data and time into a single object using `LocalDate`, `LocalTime`, `LocalDateTime`, `Instant`, `Period` and `Duration`.
21-
- Work with dates and times across timezones and manage changes from daylight savings including Format date and time values.
22-
- Define and create time and date based events using `Instant`, `Period`, `TemporalUnit` and `Duration`
23-
24-
* Localization
25-
- Read and set the local by using the `Locale` object.
26-
- Create and read a properties file
27-
- Build a resource bundle for each Locale and load a resource bundle into an application
19+
1. Use Java SE 8 Date/Time API
20+
- Create and manage date and time based events using a combination of data and time into a single object using `LocalDate`, `LocalTime`, `LocalDateTime`, `Instant`, `Period` and `Duration`.
21+
- Work with dates and times across timezones and manage changes from daylight savings including Format date and time values.
22+
- Define and create time and date based events using `Instant`, `Period`, `TemporalUnit` and `Duration`
23+
24+
2. Localization
25+
- Read and set the local by using the `Locale` object.
26+
- Create and read a properties file
27+
- Build a resource bundle for each Locale and load a resource bundle into an application

src/review_questions/chapter_5/attempt_4/README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Chapter 5: Review Questions - Attempt 4
44

55
* Date: 30/06/2024
6-
* Score: 12/20 (60%)
6+
* Score: 11/20 (55%)
77

88
| Question # | Correct |
99
| ---------- | ------- |
@@ -13,7 +13,7 @@
1313
| 4 ||
1414
| 5 ||
1515
| 6 ||
16-
| 7 | |
16+
| 7 | |
1717
| 8 ||
1818
| 9 ||
1919
| 10 ||
@@ -199,7 +199,8 @@ System.out.println(date.getYear() + " "
199199
* E. A runtime exception is thrown
200200

201201
### My answer:
202-
* **B**✅✅✅✅
202+
* **B**❌❌❌❌
203+
* **CORRECT ANSWER: D**
203204
* The LocalDate class does not have a `plusHours()` method
204205
* If the plusHours method was not present, it would print B
205206
<hr>
@@ -241,7 +242,7 @@ System.out.println(date.getYear() + " "
241242

242243
### My answer:
243244
* **G**❌❌❌❌❌
244-
* **CORRECT ANSWER: E**
245+
* **CORRECT ANSWER: B**
245246
* I thought April only had 29 days
246247
<hr>
247248

0 commit comments

Comments
 (0)