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?
11.What type of predefined entity is 'super' in programming?
12.The class java.sql.Timestamp is a subclass of which of the following classes?
13.Identify the statement below that contains a syntax error related to array declaration.
14.Consider the following Java code: public class Test { static boolean isOK; public static void main(String[] args) { System.out.print(isOK); } } What will be the output when this program is executed?
15.What is the smallest unit in a Java program called?
16.At which stage is Java classified as a programming language?
17.Which command is utilized to run a Java program through interpretation?
18.Which form of inheritance is not allowed in Java?
19.In which package can the Thread class be found?
20.Which of the following best describes the threading model of the JDBC-ODBC bridge?