A variable declared inside the for loop control can not be referenced out side the loop.
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 class may be both abstract and final.
executeUpdate automatically updates data because___________
The modulus operator (%) can be used only with Integer operands.
forName() is a static factory method
A constructor must always invoke its supper class constructor in its first statement.
putValue(...) method takes _____________________-
Which key word can protect a class in package from accessibility by the classes outside the package?
It is perfectly legal to assign a subclass object to a supper class reference.
A string object can not be modified after it is created.
When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
Every call to wait has a corresponding call to notify that will eventually end the wafting.
The import statement is always the first no comment statement in a Java program files.
A Java monitor must either extend thread class or implement Runnable interface.
Given the codeString s = new String("abc");Which of the following calls are valid?
The length of a string object 's1' can be obtained using the expression s1.length.
The name of the RMI compiler is ___________
JSP files creates ________________
Which of the following classes are available in the java.lang package?
Which of the following will produce a value of 10 if x = 9.7?
Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
JdbcOdbcDriver is an object of Object class
When we implement the Runnable interface, we must define the method
Any class may be inherited by another class in the same package.
A static class method can be invoked by simply using the name of the method alone.
If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
Which of the following statements are true?
With javadoc, which of the following denotes a javadoc comment?
One the features of is that an array can store many different types of values.
Java is fully object oriented programme.
Join our Chat Group
Join our Twitter Group
Join our Pinterest Group
Join our Facebook Group
Subscribe to our Email Newsletter