What is the primary purpose of Virtual thread awareness?
Select an option, then click Submit answer.
- ○ Extract record component values
- ○ Run tasks on lightweight threads
- ○ Match patterns in switch
- ○ Restrict permitted subclass set
Loading demo links...
Showing 1–12 of 12 questions
What is the primary purpose of Virtual thread awareness?
Select an option, then click Submit answer.
What is the primary purpose of LocalDateTime class usage?
Select an option, then click Submit answer.
What is the primary purpose of Virtual thread creation?
Select an option, then click Submit answer.
What is the primary purpose of Files readString method?
Select an option, then click Submit answer.
What is the primary purpose of Record pattern deconstruction?
Select an option, then click Submit answer.
What is the primary purpose of Module descriptor file?
Select an option, then click Submit answer.
Which two statements about Record pattern deconstruction are true? (Choose two.)
Select all that apply, then click Submit answer.
Which two statements about ZonedDateTime class usage are true? (Choose two.)
Select all that apply, then click Submit answer.
Which two statements about Structured concurrency scope are true? (Choose two.)
Select all that apply, then click Submit answer.
CORRECT TEXT
______ is used to run tasks on lightweight threads.
Answer is in the explanation below.
DRAG DROP
Match each Java 21 feature to its status or description.
Items to match: Virtual threads, Sequenced collections, String templates, Record patterns.

Answer is in the explanation below.
DRAG DROP
Match each API to its purpose.
Items to match: ZonedDateTime class, Duration class, BigDecimal class, String strip method.

Answer is in the explanation below.