Home

It is an error to catch the same type of exception in two different catch blocks associated with a particular try block.

A. True

B. False

You can do it
  1. putValue(...) method takes _____________________-
  2. The programmer must explicitly create the system .in and system .out objects.
  3. We would like to make a member of a class visible in all subclasses regardless of what package they…
  4. A final class may not have any abstract method.
  5. A Java monitor must either extend thread class or implement Runnable interface.
  6. In RMI we invoke client method from remote server
  7. Which of the following methods can be used to draw the outline of a square?
  8. DataInput is
  9. Which exception is thrown by the read() method of InputStream class?
  10. Give file is a file object, which of the following are legal statements to create a new file.
  11. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  12. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  13. Java is fully object oriented programme.
  14. JdbcOdbcDriver is an object of Object class
  15. Which of the following statements are true?
  16. Members of a class specified as private are accessible only to the methods of the class.
  17. Which of the following methods can be used to change the size of a size() *resize()
  18. When the string objects are compared with ==, the result is true If the strings contain the same values.
  19. It is perfectly legal to refer to any instance variable inside of a static method.
  20. What is java -g used for?
  21. The default case is always required in the switch selection structure.
  22. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  23. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  24. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  25. The concept of multiple inheritance is implemented in Java by
  26. Declarations can appear anywhere in the body of a Java method.
  27. It is an error to have a method with the same signature in both the super class and its subclass.
  28. An EJB is a server-side component that encapsulates the business logic of an application
  29. JSP files creates ________________
  30. Which of the following are keywords?