Quiz yourself: Working with abstract classes and default methods in Java

By Mikalai Zaikin Java SE, Quiz

What happens when a default method is hidden and inaccessible?

Quiz yourself: Using subclasses and covariant return types

By Mikalai Zaikin Java SE, Quiz

When overloading a Java method, be careful to specify the appropriate return types.

Quiz yourself: Manipulating Java lists—and views of lists

By Mikalai Zaikin Java SE, Quiz

Is a list unmodifiable? Is it immutable? What about the views of the list?

Quiz yourself: Performing reductions with Java streams using collectors and grouping

By Mikalai Zaikin Java SE, Quiz

The trick is to visualize how stream elements travel along the pipeline.

Quiz yourself: Use Java streams to filter, transform, and process data

By Mikalai Zaikin Java SE, Quiz

The average, sum, and count methods are trickier than they might seem.

Quiz yourself: Annotation usage and shortcuts

By Mikalai Zaikin Java SE

Some acceptable shortcuts for annotations are inconsistent with Java’s usual syntax.