Search This Blog

Wednesday, February 11, 2026

Java Multithreading - 6

 How many times can you start a same Java thread?

a) once only

b) Any number of times 

c) Three times


Created by: Nancy KAN

@11:17 11-Feb-2026


Friday, February 6, 2026

Java Control Structures - switch Part 1

 Why will you use yield in a switch - case in Java?

a) It is a replacement for the default

b) It can handle multiple case statements

c) It is the only statement that can be used in the default

d) To execute multiple lines of code block in a switch and return a value


Created by Nancy K.A.N

@15:44 06-Feb-2026