New game
Download
Get Academic Plan
Share game
Integrate it into your platform

You can integrate the game into an LMS compatible with LTI 1.1 or LTI 1.3 such as Canvas, Moodle, or Blackboard. This way, the scores will be automatically saved into the platform’s gradebook.
Download
You have exceeded the maximum number of games you can integrate into Google Classroom with your current Plan.

To integrate as many games as you want in Google Classroom, you need an Academic Plan or a Commercial Plan.

You have exceeded the maximum number of games you can integrate into Microsoft Teams with your current Plan.

To integrate as many games as you want in Microsoft Teams, you need an Academic Plan or a Commercial Plan.

Downloading games is an exclusive feature for users with an Academic Plan or a Commercial Plan.

Get your Academic Plan or your Commercial Plan now and start integrating your games into your LMS, website or blog.

If you wish, you can download a demo game here and test its integration:

Java 8-12 Features Quiz

Quiz

Played 5

About this activity

Java modern features

Created by

India

Download the paper version to play

Make your own free game from our game creator
Compete against your friends to see who gets the best score in this game

Top Games

%
Anonymous
Anonymous
%
%
%
You have exceeded the maximum number of games you can print with your current Plan.

To print as many games as you want, you need an Academic Plan or a Commercial Plan.

Print your game
Java 8-12 Features Quiz
 

Java 8-12 Features QuizOnline version

Java modern features

by Jeni Alex
1

Q1. True or False: Lambda expressions are a Java 8 feature.

2

Q2. Fill in the blank: Optional helps to avoid _____.

3

Q3. Fill in the blank: Default methods in interfaces allow adding new ____ without breaking existing implementations.

4

Q4. Fill in the blank: To collect a stream into a List, use stream.collect(____).

5

class Demo { public static void main(String[] args) { String s = "HELLO"; System.out.println(s.substring(1, 4)); } } Output is ELL

6

Q6. Fill in the blank: The 'var' keyword for local variable type inference was introduced in Java ____.

7

Q7. Coding: Given List names, which result type is produced by names.stream().map(String::length).collect(Collectors.toList())?

8

List.of() allows duplicate elements.

9

class Demo { public static void main(String[] args) { Optional o = Optional.empty(); String v = o.orElseThrow(() -> new IllegalArgumentException("Missing")); System.out.println(v); } }

10

Q10. Fill in the blank: What keyword marks a static method in an interface (Java 8+)?

Are you sure you want to leave the page?

If you leave, you will lose the game in progress.