Vidyalelo
Java Programming · all questions

Java Beans and JDBC
practice.

Practice every MCQ with options. Use Show answers when you want the correct option and solution.

60

Questions

3/3

Page

Pick an option on a question to see the right answer and solution.

Which design pattern ensures that only one object of particular class gets created?

Select an option to see the answer and solution.

Is design pattern a logical concept.

Select an option to see the answer and solution.

Which of the following is used to call stored procedure?

Select an option to see the answer and solution.

Which of the following is correct error when loading JAR file with duplicate name?

Select an option to see the answer and solution.

Which of the below is not a valid classification of design pattern?

Select an option to see the answer and solution.

Which attribute is used to specify initialization method?

Select an option to see the answer and solution.

Which of the following is advantage of using PreparedStatement in Java?

Select an option to see the answer and solution.

Which of the below is not a valid design pattern?

Select an option to see the answer and solution.

Which of the following is not an Enterprise Beans type?

Select an option to see the answer and solution.

Which of the following is not a feature of Beans?

Select an option to see the answer and solution.

Which of the following is method of JDBC batch process?

Select an option to see the answer and solution.

Which of the following is advantage of using JDBC connection pool?

Select an option to see the answer and solution.

What does MVC pattern stands for?

Select an option to see the answer and solution.

Which design pattern represents a way to access all the objects in a collection?

Select an option to see the answer and solution.

Which design pattern suggests multiple classes through which request is passed and multiple but only relevant classes carry out operations on the request?

Select an option to see the answer and solution.

Which of the following is not true about Java beans?

Select an option to see the answer and solution.

Which of the following is used to rollback a JDBC transaction?

Select an option to see the answer and solution.

What does setAutoCommit(false) do?

Select an option to see the answer and solution.

Which file separator should be used by MANIFEST file?

Select an option to see the answer and solution.

Which one of the following contains date information?

Select an option to see the answer and solution.