Search This Blog

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

Tuesday, December 16, 2025

Java Datatypes - 3

 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

Friday, December 5, 2025

Java Classes and Objects - 1

 ____________________ 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

Monday, November 3, 2025

Java Math API - 3

What is the output of the following code?

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.  


Created by Nancy K.A.N.
@23:31 03-Nov-2025

Friday, October 31, 2025

Java Packages

 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

Wednesday, October 29, 2025

Java Intro

 What is WORA in Java?

a) Write Only, Read Access

b) Write Off, Read Access

c) Write Once, Read Anywhere

d) Write Once, Run Anywhere


Created By: Nancy K.A.N.

@11:47 29-Oct-2025

Saturday, October 25, 2025

PRNG - Java

 Which of the following methods is not found in the Pseudo Random Number Generator (PRNG) API?

a) NextInt()

b) NextLong()

c) random()

d) NextDouble()


Created by Nancy K.A.N.

@13:03 25-Oct-2025