Related Questions
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
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
If m and n are int type variables, what will be the result of the expression
'm % n' when m = -14 and n = -3?
What is the correct answer?
4
Submit button always fires doPost(...)
What is the correct answer?
4
The concept of multiple inheritance is implemented in Java by
A. extending two or more classes
B. extending one class and implementing one or more interfaces
What is the correct answer?
4
The name of the RMI compiler is ___________
What is the correct answer?
4
The import statement is always the first no comment statement in a Java program files.
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
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
A static class method can be invoked by simply using the name of the method alone.
What is the correct answer?
4
Members of a class specified as private are accessible only to the methods of the class.
What is the correct answer?
4
Which of the following methods can be used to draw the outline of a square?
What is the correct answer?
4
executeUpdate automatically updates data because___________
A. auto commit is on, by default
B. It performs a hidden commit statement as well
What is the correct answer?
4
If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
What is the correct answer?
4
The break statement is required in the default case of a switch selection structure.
What is the correct answer?
4
A class may be both abstract and final.
What is the correct answer?
4
Which of the following are keywords?
What is the correct answer?
4
We can over load methods with differences only in their return type.
What is the correct answer?
4
Frames and applets cannot be used together in the same program.
What is the correct answer?
4
forName() is a static factory method
What is the correct answer?
4
Which of the following classes are available in the java.lang package?
What is the correct answer?
4
class.forName(...) creates an instance of java ODBC driver
What is the correct answer?
4
A catch can have comma-separated multiple arguments.
What is the correct answer?
4
Which javadoc tag is used to denote a comment for methods parameters?
What is the correct answer?
4
A variable declared inside the for loop control can not be referenced out side the loop.
What is the correct answer?
4
Java is fully object oriented programme.
What is the correct answer?
4
Servlet has ___________
C. All of the above methods.
What is the correct answer?
4
DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
What is the correct answer?
4
Which are the valid ways to create DataInputStream streams?
A. new DataInputStream(new File("in.dat"));
B. new DataInputStream(new FileInputStream("in.dat"));
C. new DataInputStream("in.dat");
D. new DataInputStream("in.data","r");