Related Questions
What is the correct answer?
4
A method declared as static can not access non-static class members.
What is the correct answer?
4
executeUpdate(------------) returns ___________
B. Returns a ResultSet object
C. Returns an integer value to show the no. of updated rows
What is the correct answer?
4
All the bitwise operators have the same level of precedence in Java.
What is the correct answer?
4
Which of the following statements are valid array declarations?
What is the correct answer?
4
All methods in an abstract class must be declared abstract.
What is the correct answer?
4
Which of the following methods can be used to change the size of a
size() *
resize()
What is the correct answer?
4
Session bean
A. Represents a single client inside the application server
D. Satisfies all of the above conditions
What is the correct answer?
4
In RMI before running the client program we must start RMI Registry.
What is the correct answer?
4
A thread can make second thread ineligible for execution by calling the suspend (-) method on second thread.
What is the correct answer?
4
The default case is always required in the switch selection structure.
What is the correct answer?
4
What is java -g used for?
B. Executing a class with optimization turned off
C. To provided information about deprecated methods
What is the correct answer?
4
Which exception is thrown by the read() method of InputStream class?
What is the correct answer?
4
JdbcOdbcDriver is an object of Object class
What is the correct answer?
4
EJBs can be of the following type(s)
None of the above
What is the correct answer?
4
The keywords reserved but not used in the initial version of Java re:
What is the correct answer?
4
The name of a Java program file must match the name of the class with the extension Java.
What is the correct answer?
4
Which of the following will produce a value of 10 if x = 9.7?
What is the correct answer?
4
Servlet can have ___________
A. get method and post method
B. get method or post method
What is the correct answer?
4
Which of the following statements are true?
A. UTF characters are all 24 bits.
B. Reader class has methods that can read integers and floats.
C. Unicode characters are all 16 bits.
What is the correct answer?
4
It is an error to have a method with the same signature in both the super class and its subclass.
What is the correct answer?
4
Which of the following are not keywords?
What is the correct answer?
4
Any class may be inherited by another class in the same package.
What is the correct answer?
4
Which of the following represent legal flow control statements?
What is the correct answer?
4
Frames and applets cannot be used together in the same program.
What is the correct answer?
4
Which of the following command lines options generates documentation for all classes and methods?
What is the correct answer?
4
In RMI we invoke client method from remote server
What is the correct answer?
4
We can add more than one class(es) at the time of compilation Java Beans.
What is the correct answer?
4
Consider the following code snippet:
try
{
int x=0; int y=50/x;
System.out.println("Division by zero");
}
catch(ArithmeticException e)
{
System.out.println("catch block");
}
What will be the output?
D. Division by zero catch block
What is the correct answer?
4
We would like to make a member of a class visible in all subclasses regardless of what package they are in. Which one of the following keywords would achieve this?
What is the correct answer?
4
The expression (x == y && a<b) is true If either x == y is true or a<b is true.