Home

executeUpdate(------------) returns ___________

A. Nothing

B. Returns a ResultSet object

C. Returns an integer value to show the no. of updated rows

D. None of the above.

You can do it
  1. Which exception is thrown by the read() method of InputStream class?
  2. Declarations can appear anywhere in the body of a Java method.
  3. Which of the following statements are true?
  4. In a single Servlet class we can use____________
  5. Any method in a supper class can be over ridden in its subclass.
  6. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  7. Which key word can protect a class in package from accessibility by the classes outside the package?
  8. A variable declared inside the for loop control can not be referenced out side the loop.
  9. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  10. Which of the following represent legal flow control statements?
  11. The programmer must explicitly create the system .in and system .out objects.
  12. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  13. Which of the following are the wrapper classes?
  14. Give file is a file object, which of the following are legal statements to create a new file.
  15. The check box group class is a subclass of the component class.
  16. Which of the following command lines options generates documentation for all classes and methods?
  17. The keywords reserved but not used in the initial version of Java re:
  18. The break statement is required in the default case of a switch selection structure.
  19. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  20. Every method of a final in class is implicitly final.
  21. The name of a Java program file must match the name of the class with the extension Java.
  22. A Java monitor must either extend thread class or implement Runnable interface.
  23. A panel can not be added to another panel.
  24. We can add more than one class(es) at the time of compilation Java Beans.
  25. An EJB is a server-side component that encapsulates the business logic of an application
  26. Consider the following class definitions: class maths { student student1; } class student { String name;…
  27. It is perfectly legal to refer to any instance variable inside of a static method.
  28. Which are the valid ways to create DataInputStream streams?
  29. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  30. Which of the following will produce a value of 10 if x = 9.7?