Quiz yourself: Use the Files class to copy or move files and directories

By Simon Roberts Java SE, Quiz

Test your knowledge of the java.nio.file.Files class.

Quiz yourself: Create worker threads using Runnable and Callable (advanced)

By Simon Roberts Java SE, Quiz

Test your knowledge of what happens when you use the ExecutorService.

Quiz yourself: Define the structure of a Java class (intermediate)

By Simon Roberts Java SE, Quiz

Test your knowledge of Java classes, such as their valid names, the use of variables inside a method, and the number of import statements.

Quiz yourself: Declare and use List and ArrayList instances (intermediate)

By Simon Roberts Java SE

Work with lists while avoiding unpleasant UnsupportedOperationException errors.

Quiz yourself: Search stream data using the findFirst, findAny, and anyMatch methods (advanced)

By Simon Roberts Java SE, Quiz

Streams are complicated. With the right approach, they can be very efficient too.

Quiz yourself: Describe the modular SDK (intermediate)

By Simon Roberts Java SE, Quiz

Know which command-line utilities are mandatory for distributing applications with a custom JRE.

Quiz yourself: Use the Optional class (advanced)

By Simon Roberts Coding, Java SE, Quiz

Do you know how to use Optional? Find out in the latest by Simon and Mikalai.

Quiz yourself: Use PreparedStatement to perform database CRUD operations (intermediate)

By Simon Roberts Coding, Java SE, Quiz

PreparedStatement sends SQL to a database. Let’s see how it works.

Quiz yourself: Declaring and accessing modules (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.

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.