Modern Java Versions Specifics Flashcards
What is a parameterized or generic type
Can we use parameterized types in exception handling
What is Autoboxing and what are its advantages/pitfalls
What is a wildcard parameterized type
Problems Enum type solves (comparing to “public static int” enum pattern)
Can we add something to List<?>
What is method reference (Java 8)
What is default metod (Java 8)
What is stream API (java 8)
What is Lambda expression (Java 8)
What are Annotations and which predefined by the language specification does one know (@Deprecated, @Override, @SuppressWarnings)
How to create custom annotation? What is retention type?
How would you create your own annotation with a specific retention policy (e.g. Runtime) behavior
What happens with lambda after compile time?
What are the new features of Java 9?