
Auditorne7

Quiz
•
Computers
•
University
•
Easy
Ana Radović
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Pozivom koje metode kreiramo tok?
dataStream()
stream()
flow()
dataFlow()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Što će se ispisati?
Svi studeni koji imaju 40 ili više bodova
Svi studenti koji imaju 40 ili manje bodova
Svi studenti
Neće se kompajlirati
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
List<Student> students = StudentData.load();
Stream<Student> st = students.stream();
st.forEach(t -> System.out.println(t)); //OK
st.forEach(t -> System.out.println(t)); //?
Što će se ispisati umjesto "?"
svi studenti
IllegalStateException
neće se kompajlirati
IOException
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Može li se ponovno koristiti iskorišteni(konzumirani) tok?
DA
NE
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
students.stream().filter(s -> s.getPoints() >= 40)
.sorted(Student.BY_LAST_NAME)
.forEach(t -> System.out.println(t));
Što ispisuje kod?
studente sortirane po prezimenima s više od 40 bodova
studente s preko 40 bodova bez redoslijeda
sve studente
sve studente sortirane po prezimenima
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Kojom metodom se preslikava (transformira) jedan tok u drugi?
map()
set()
list()
copyOf()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kojom metodom tok vraćamo u kolekciju?
transform()
copyTo()
collect()
translateTo()
Create a free account and access millions of resources
Similar Resources on Wayground
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade