For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
Correct Answer :
Download Objective type questions of
Visit our PDF store
Get all objective type questions of Java Programming MCQ
comments powered by Disqus.
Declaring a method synchronized guarantees that the deadlock cannot occur.
Which of the following control expressions are valid for an if statement?
With javadoc, which of the following denotes a javadoc comment?
Throwing an exception always causes program termination.
Connection, Statement are interfaces and ResultSet is a class.
The import statement is always the first no comment statement in a Java program files.
Submit button always fires doPost(...)
To delete a file, we can use an instance of class file.
Which of the following statements are true?
A panel can not be added to another panel.
A Java monitor must either extend thread class or implement Runnable interface.
Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
forName() is a static factory method
A catch can have comma-separated multiple arguments.
When the string objects are compared with ==, the result is true If the strings contain the same values.
executeUpdate(------------) returns ___________
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___________
Every call to wait has a corresponding call to notify that will eventually end the wafting.
The concept of multiple inheritance is implemented in Java by
Which of the following statements are valid array declarations?
The modulus operator (%) can be used only with Integer operands.
A constructor must always invoke its supper class constructor in its first statement.
It is an error to have a method with the same signature in both the super class and its subclass.
The keywords reserved but not used in the initial version of Java re:
Given the codeString s = new String("abc");Which of the following calls are valid?
JSP files creates ________________
What does the following line of code do?TextField text=new TextField(10);
class.forName(...) creates an instance of java ODBC driver
It is an error to catch the same type of exception in two different catch blocks associated with a particular…
Join our Chat Group
Join our Twitter Group
Join our Pinterest Group
Join our Facebook Group
Subscribe to our Email Newsletter