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
Programming concepts, OOPs, Data Structures, C, C++, Java, JS, Python, and more
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
I am Nancy. I worked in the IT sector for many years in different roles and so was in life. I created Digital technical content for many years later in my career. I have created YouTube channels for Cooking Recipes, Programming, and Nature.
I recently published a Couring books for Adults.
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
I am Nancy. I worked in the IT sector for many years in different roles and so was in life. I created Digital technical content for many years later in my career. I have created YouTube channels for Cooking Recipes, Programming, and Nature.
I recently published a Couring books for Adults.
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
I am Nancy. I worked in the IT sector for many years in different roles and so was in life. I created Digital technical content for many years later in my career. I have created YouTube channels for Cooking Recipes, Programming, and Nature.
I recently published a Couring books for Adults.
Which of the following are not a Java datatypes?
a) boolean
b) bool
c) long
d) void
e) long float
Created by Nancy K.A.N.
@13:19 16-Dec-2025
I am Nancy. I worked in the IT sector for many years in different roles and so was in life. I created Digital technical content for many years later in my career. I have created YouTube channels for Cooking Recipes, Programming, and Nature.
I recently published a Couring books for Adults.
____________________ is a class whose objects cannot be changed after created.
a) A subclass
b) A final class
c) An immutable
d) An Inner class
Created by: Nancy KAN
@17:33 05-Dec-2025
I am Nancy. I worked in the IT sector for many years in different roles and so was in life. I created Digital technical content for many years later in my career. I have created YouTube channels for Cooking Recipes, Programming, and Nature.
I recently published a Couring books for Adults.
1. public class MathDemo2 {
2. public static void main(String[] args) {
3. System.out.println(Math.max(29,Math.min(93,Math.min(54,Math.max(47,45)))));
4. }
5. }
6.
I am Nancy. I worked in the IT sector for many years in different roles and so was in life. I created Digital technical content for many years later in my career. I have created YouTube channels for Cooking Recipes, Programming, and Nature.
I recently published a Couring books for Adults.
Which of the following Java packages is automatically included in every Java program?
a) java.utils package
b) java.language package
c) java.lang package
d) java.io package
Created by Nancy K.A.N.
@ 31-Oct-2025
I am Nancy. I worked in the IT sector for many years in different roles and so was in life. I created Digital technical content for many years later in my career. I have created YouTube channels for Cooking Recipes, Programming, and Nature.
I recently published a Couring books for Adults.