Home

Throwing an exception always causes program termination.

A. True

B. False

You can do it yup
  1. executeUpdate automatically updates data because___________
  2. Any class may be inherited by another class in the same package.
  3. Java always provides a default constructor to a class.
  4. Which are the valid ways to create DataInputStream streams?
  5. In RMI before running the client program we must start RMI Registry.
  6. We would like to make a member of a class visible in all subclasses regardless of what package they…
  7. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  8. A catch can have comma-separated multiple arguments.
  9. When the string objects are compared with ==, the result is true If the strings contain the same values.
  10. Objects are passed to a method by use of call-by-reference.
  11. To delete a file, we can use an instance of class file.
  12. Which of the following statements are valid array declarations?
  13. JdbcOdbcDriver is an object of Object class
  14. Give file is a file object, which of the following are legal statements to create a new file.
  15. What does the following line of code do?TextField text=new TextField(10);
  16. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  17. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  18. The use of protected keyword to a member in a class will restrict its visibility as follows:
  19. Which of the following classes are available in the java.lang package?
  20. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  21. When present, package must be the first no comment statement in the file.
  22. It is perfectly legal to assign a subclass object to a supper class reference.
  23. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  24. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  25. Servlet has ___________
  26. Frames and applets cannot be used together in the same program.
  27. A Java monitor must either extend thread class or implement Runnable interface.
  28. Given the codeString s = new String("abc");Which of the following calls are valid?
  29. Two methods cannot have the same name in Java.
  30. A final class may not have any abstract method.