Woche 9

Woche 9

University

8 Qs

quiz-placeholder

Similar activities

Web Designing Quiz-2

Web Designing Quiz-2

University

10 Qs

HTML

HTML

University

13 Qs

Teste python- Unesp-Jaboticabal

Teste python- Unesp-Jaboticabal

University

10 Qs

Chapter 5-1: Review Questions & Exercises

Chapter 5-1: Review Questions & Exercises

University

10 Qs

PSP Week 5

PSP Week 5

University

10 Qs

pointers and structures

pointers and structures

University

10 Qs

PSSI Chp 1 dan 2

PSSI Chp 1 dan 2

University

12 Qs

Belajar Microsoft Exel

Belajar Microsoft Exel

University

10 Qs

Woche 9

Woche 9

Assessment

Quiz

Computers

University

Practice Problem

Easy

Created by

Hedi Chehaidar

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Welche Art von Exceptions können explizit behandelt werden ?

Checked

Unchecked

Beide

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Was ist die Ausgabe dieses Codes ?

null
exception

null
finally

exception
finally

null
exception
finally

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Wie viele abstrakte (nicht definierte) Methoden dürfen bei einer Functional Interface sein?

0

genau eine

höchstens eine

mindestens eine

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Welche Functional Interface müssen wir in der Methode sort() von der Klasse List als Parameter übergeben?

Comparator

Consumer

Supplier

Predicate

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Wir wollen eine Liste l von Typ Integer aufsteigend sortieren (von klein bis groß)
was darf nicht in der Lücke stehen?
l.sort(/*Lücke*/);

Integer::compareTo

Comparator.comparingInt(Integer::intValue)

(a , b) -> a - b

(a , b) -> b - a

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Was muss in der Lücke stehen?
Function<List<Integer> , List<Integer>> s = x -> { x.sort((a,b) -> a - b); return x; };
s./*Lücke*/(l);

get

accept

apply

sort

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Können wir eine Enhanced for loop über ein Objekt von einer Klasse benutzen, die nur die Interface Iterator<T> implimentiert?

Ja

Nein

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers