Home

A catch can have comma-separated multiple arguments.

A. True

B. False

You can do it
  1. putValue(...) method takes _____________________-
  2. Objects are passed to a method by use of call-by-reference.
  3. forName() is a static factory method
  4. A constructor must always invoke its supper class constructor in its first statement.
  5. Which of the following represent legal flow control statements?
  6. A Java monitor must either extend thread class or implement Runnable interface.
  7. We would like to make a member of a class visible in all subclasses regardless of what package they…
  8. Declaring a method synchronized guarantees that the deadlock cannot occur.
  9. To delete a file, we can use an instance of class file.
  10. A final class may not have any abstract method.
  11. When the string objects are compared with ==, the result is true If the strings contain the same values.
  12. The concept of multiple inheritance is implemented in Java by
  13. It is an error to have a method with the same signature in both the super class and its subclass.
  14. With javadoc, which of the following denotes a javadoc comment?
  15. The name of the RMI compiler is ___________
  16. The name of a Java program file must match the name of the class with the extension Java.
  17. One the features of is that an array can store many different types of values.
  18. It is perfectly legal to refer to any instance variable inside of a static method.
  19. Two methods cannot have the same name in Java.
  20. Which of the following are the wrapper classes?
  21. A catch can have comma-separated multiple arguments.
  22. In order to connect to a database through java program we must create _______-
  23. When we implement the Runnable interface, we must define the method
  24. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  25. Servlet has ___________
  26. The check box group class is a subclass of the component class.
  27. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  28. All methods in an abstract class must be declared abstract.
  29. Which key word can protect a class in package from accessibility by the classes outside the package?
  30. The break statement is required in the default case of a switch selection structure.