In a static block, initialize labels with 5 different key-value pairs. The Solution class should have only one method (main), where you must also declare a static Map field labels. This field must be populated with 5 different key-value pairs in a static block.
Static modifiers: part 1
- 4
Locked
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
Mary Khan
5 August 2022, 23:26
Why is this static block in this case?
0