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

Wednesday, January 28, 2026

Java Programming - A revision - episode 1

 What are the main reasons that Java is not considered a pure Object-Oriented Programming language?

a) Java uses pointers 

b) Java uses primitive data types like int, float, double, and so on

c) Java uses a main method like the C programming language, which is not OOP

d) Java uses static variables and methods, which are outside the scope of objects


Created by Nancy

@13:34 28-Jan-2026