In RMI before running the client program we must start RMI Registry.
Correct Answer :
Download Objective type questions of
Visit our PDF store
Get all objective type questions of Java Programming MCQ
comments powered by Disqus.
In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
EJBs can be of the following type(s)None of the above
We would like to make a member of a class visible in all subclasses regardless of what package they…
All the bitwise operators have the same level of precedence in Java.
In order to connect to a database through java program we must create _______-
The name of a Java program file must match the name of the class with the extension Java.
Which are the valid ways to create DataInputStream streams?
A constructor must always invoke its supper class constructor in its first statement.
DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
executeUpdate automatically updates data because___________
Which of the following keywords are used to control access to a class member?
Connection, Statement are interfaces and ResultSet is a class.
Submit button always fires doPost(...)
The use of protected keyword to a member in a class will restrict its visibility as follows:
When present, package must be the first no comment statement in the file.
It is perfectly legal to assign a subclass object to a supper class reference.
Declaring a method synchronized guarantees that the deadlock cannot occur.
Java is fully object oriented programme.
Every method of a final in class is implicitly final.
Which of the following methods can be used to draw the outline of a square?
Which of the following will produce a value of 22 if x=22.9:
In a single Servlet class we can use____________
Members of a class specified as private are accessible only to the methods of the class.
With javadoc, which of the following denotes a javadoc comment?
If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
A variable declared inside the for loop control can not be referenced out side the loop.
A method declared as static can not access non-static class members.
Which of the following are keywords?
Which of the following are the wrapper classes?