Created by Zeyin Lai
almost 8 years ago
|
||
Which are correct Diamond operator?
1. new ArrayList<>();
2. new HashMap<Map<String,Integer>, List<Double>>();
3. new HashMap<>();
4. new HashMap<<>,<>>()
What are the prefixes for Octal, Hexadecimal and Binary?
Rules for literal underscore
Six data types that supported by switch statement.
What kind of values can be used in case statements?
Rule of default statement
Is it correct to say that a try-with-resources statement is only permitted to omit finally statement?
Does it compile?
What order does Java close resource?
In where suppressed exceptions apply only to exceptions thrown
When are resources are closed in try-and-resource
What are the outputs?