Related Questions
What is the correct answer?
4
The setBackground() method is part of the class
What is the correct answer?
4
Frames and applets cannot be used together in the same program.
What is the correct answer?
4
What is error in the following class definitions?
abstract class xy {
abstract sum(int x, int y) {
}
}
A. class header is not define properly
B. constructor is no defined
C. method is not defined properly
What is the correct answer?
4
An individual array element that is passed to a method and modified in that method will contain the modified value when the called method completes execution.
What is the correct answer?
4
In RMI we invoke client method from remote server
What is the correct answer?
4
All methods in an abstract class must be declared abstract.
What is the correct answer?
4
It is perfectly legal to assign a subclass object to a supper class reference.
What is the correct answer?
4
Which of the following are not keywords?
What is the correct answer?
4
In RMI before running the client program we must start RMI Registry.
What is the correct answer?
4
Java always provides a default constructor to a class.
What is the correct answer?
4
Give file is a file object, which of the following are legal statements to create a new file.
B. FileOutputStream fos=new FileOutputStream(file);
C. FileInputStream fis=new FileInputStream(file);
What is the correct answer?
4
Which of the following statements are true?
A. An abstract class may not have any final methods?
B. A final class may not have any abstracts methods.
C. Transient variables must be static.
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 of the following are keywords?
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
JdbcOdbcDriver is an object of Object class
What is the correct answer?
4
It is an error if a class with one or more abstract methods is not explicitly declared abstract.
What is the correct answer?
4
All the bitwise operators have the same level of precedence in Java.
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 catch can have comma-separated multiple arguments.
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
To delete a file, we can use an instance of class file.
What is the correct answer?
4
One the features of is that an array can store many different types of values.
What is the correct answer?
4
EJBs can be of the following type(s)
None of the above
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
What does the following line of code do?
TextField text=new TextField(10);
A. Creates text object that can hold 10 rows of text.
B. Creates text object that can hold 10 columns of text.
C. Creates the object text and initializes it with the value 10.
What is the correct answer?
4
Which of the following represent legal flow control statements?
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
Java is fully object oriented programme.
What is the correct answer?
4
Servlet has ___________
C. All of the above methods.