Quiz yourself: Declaring and accessing modules, especially java.base (intermediate)

By Simon Roberts Java SE, Quiz

This intermediate-level Java SE 11 certification quiz tests your ability to declare modules and enable access between modules, especially when it comes to the java.base module.

Quiz yourself: Applying access modifiers to Java classes (intermediate)

By Simon Roberts Java SE, Quiz

This Java certification quiz investigates the meaning of default accessibility and how it influences classes in different packages.

Quiz yourself: Methods that throw an exception (intermediate)

By Simon Roberts Java SE, Quiz

Understanding the checked exception mechanism requires that you understand how to declare a method that throws a checked exception, and how that differs from a method that either does not throw any exceptions or throws only unchecked ones.

Quiz yourself: Secure serialization and deserialization (advanced)

By Simon Roberts Java SE

See if you know how to make rapidly changing code easier to maintain.

Quiz yourself: Refactoring with the core functional interfaces (intermediate)

By Simon Roberts Java SE

See if you know how to improve code by refactoring.

Quiz yourself: Using core functional interfaces (intermediate)

By Simon Roberts Java SE, Quiz

See if you know how to use the predicate, consumer, function, and supplier interfaces.

Quiz Yourself: Creating and Invoking Overloaded Methods (Intermediate)

By Simon Roberts Java SE, Quiz

Overloaded methods must be valid, and all ambiguities must be resolved.

Quiz Yourself: Using Switch and Case Statements (Intermediate)

By Simon Roberts Java SE, Quiz

Java control statements can be confusing to learn and use correctly.

Quiz Yourself: Use Java operators (Intermediate)

By Simon Roberts Java SE, Quiz

The objective in this Java SE quiz is to understand how to use conditional operators.

Quiz Yourself: Migrating to the Java Platform Module System (Advanced)

By Simon Roberts Java SE, Quiz

You’re tasked with moving an application to JPMS. What’s the command line?

Quiz Yourself: Using Core Functional Interfaces: Consumer (Advanced)

By Simon Roberts April 2020 April 2020, Java SE, Quiz

The consumer interface can be confusing, even for advanced coders.

Quiz Yourself: Using Core Functional Interfaces: Predicate (Advanced)

By Simon Roberts April 2020 April 2020, Java SE, Quiz

Predicate interfaces can be complicated, so be careful when working out the results.

Quiz Yourself: Lambda Types (Advanced)

Can a lambda return a lambda?

Quiz Yourself: Functional Interfaces (Advanced)

Define and implement functional interfaces that work as expected.

Quiz Yourself: Lambda Expressions (Advanced)

The subtleties of using var in lambda expressions

Quiz Yourself: Two-Dimensional Arrays (Intermediate)

Using var with two-dimensional arrays requires careful attention.

Quiz Yourself: Understanding enums (Advanced)

By Simon Roberts January 2020 January 2020, Java SE, Quiz

The subtleties of using enums in a switch statement

Quiz Yourself: Final Classes (Intermediate)

By Simon Roberts January 2020 January 2020, Java SE, Quiz

The effects of declaring a class final

Quiz Yourself: Default Methods (Advanced)

By Simon Roberts January 2020 January 2020, Java SE, Quiz

What fields can you access from default methods in interfaces?

Quiz Yourself: Manipulate Data with StringBuilder (Intermediate)

By Simon Roberts January 2020 January 2020, Java SE, Quiz

When two object references point to the same StringBuilder instance, how are changes propagated?