The break statement is required in the default case of a switch selection structure.
Correct Answer :
Download Objective type questions of
Visit our PDF store
Get all objective type questions of Java Programming MCQ
comments powered by Disqus.
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.
The modulus operator (%) can be used only with Integer operands.
When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
executeUpdate(------------) returns ___________
Connection, Statement are interfaces and ResultSet is a class.
Which of the following classes are available in the java.lang package?
Members of a class specified as private are accessible only to the methods of the class.
JdbcOdbcDriver is an object of Object class
Which of the following control expressions are valid for an if statement?
A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
An individual array element that is passed to a method and modified in that method will contain the…
With javadoc, which of the following denotes a javadoc comment?
Which of the following are the wrapper classes?
A final class may not have any abstract method.
For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
Servlet can have ___________
When the string objects are compared with ==, the result is true If the strings contain the same values.
It is an error to have a method with the same signature in both the super class and its subclass.
In order to connect to a database through java program we must create _______-
All the bitwise operators have the same level of precedence in Java.
The keywords reserved but not used in the initial version of Java re:
The methods wait() and noify() are defined in
Which of the following methods can be used to draw the outline of a square?
The use of protected keyword to a member in a class will restrict its visibility as follows:
Which of the following are keywords?
We can over load methods with differences only in their return type.
A constructor must always invoke its supper class constructor in its first statement.
To delete a file, we can use an instance of class file.
Join our Chat Group
Join our Twitter Group
Join our Pinterest Group
Join our Facebook Group
Subscribe to our Email Newsletter