What is the purpose of a constructor in a Java class?
How can you check if a Map contains a specific key?
When compiling Java code for a modular application, what happens if a class depends on a class from an unnamed module?
Which of the following classes is used to write text data to the console in Java?
How can you format a currency value according to the user's locale?
When designing overloaded methods with varargs, what's the best practice to avoid ambiguity?