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.
Connection, Statement are interfaces and ResultSet is a class.
Which of the following methods can be used to draw the outline of a square?
EJBs can be of the following type(s)None of the above
The modulus operator (%) can be used only with Integer operands.
All the bitwise operators have the same level of precedence in Java.
Which of the following are keywords?
It is an error if a class with one or more abstract methods is not explicitly declared abstract.
A static class method can be invoked by simply using the name of the method alone.
In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
When we implement an interface method, it should be declared as public.
It is perfectly legal to refer to any instance variable inside of a static method.
Any method in a supper class can be over ridden in its subclass.
The expression (x == y && a<b) is true If either x == y is true or a<b is true.
If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
A panel can not be added to another panel.
It is perfectly legal to assign a subclass object to a supper class reference.
Which of the following are the wrapper classes?
Which of the following are not keywords?
When the string objects are compared with ==, the result is true If the strings contain the same values.
Objects are passed to a method by use of call-by-reference.
Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
A Java monitor must either extend thread class or implement Runnable interface.
A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
Which of the following represent legal flow control statements?
With javadoc, which of the following denotes a javadoc comment?
A package is a collection of
Which of the following classes are available in the java.lang package?
An individual array element that is passed to a method and modified in that method will contain the…
We can over load methods with differences only in their return type.
Give file is a file object, which of the following are legal statements to create a new file.
Join our Chat Group
Join our Twitter Group
Join our Pinterest Group
Join our Facebook Group
Subscribe to our Email Newsletter