Java concepts and its programming

Practice MCQs under Java concepts and its programming. 80 available

Questions

Correct options are highlighted when revealed.

1.What type of files are stored in a JAR file in compressed form?

2.Which of the following expressions is equivalent to "x = x + 1"?

3.Which package contains the drawstring() method?

4.Which of the following are recognized isolation levels in J2EE?

5.What output will be produced by the following Java program? public class Test { public static void main(String[] args) { float f = (1 / 4) * 10; int i = Math.round(f); System.out.println(i); } }

6.What is the term for producing an identical duplicate of an existing object?

7.What is the term for a method that shares its name with the class and does not specify a return type?

8.Which techniques are employed to manage access to an object in a multithreaded environment?

9.Which integer type has the smallest size and how many bits does it occupy?

10.Which keyword is utilized to indicate that a class is adopting an interface?

Past Papers & Resources →