Core APIs Interview Questions
Consolidated interview Q&A for Java's Core APIs — Object class, String, StringBuilder, Math, wrapper types, and Optional.
Consolidated interview Q&A for Java's Core APIs — Object class, String, StringBuilder, Math, wrapper types, and Optional.
Java's Optional container type — what it is, when it genuinely clarifies code, and the common anti-patterns that make it worse than a null check.
How to use Optional correctly — creation, retrieval patterns, chaining, and the anti-patterns that make Optional worse than null.