Home

Throwing an exception always causes program termination.

A. True

B. False

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. The programmer must explicitly create the system .in and system .out objects.
  2. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  3. The setBackground() method is part of the class
  4. All methods in an abstract class must be declared abstract.
  5. Declaring a method synchronized guarantees that the deadlock cannot occur.
  6. A Java monitor must either extend thread class or implement Runnable interface.
  7. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  8. A method declared as static can not access non-static class members.
  9. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  10. Throwing an exception always causes program termination.
  11. The modulus operator (%) can be used only with Integer operands.
  12. JdbcOdbcDriver is an object of Object class
  13. All the bitwise operators have the same level of precedence in Java.
  14. Which exception is thrown by the read() method of InputStream class?
  15. Connection, Statement are interfaces and ResultSet is a class.
  16. It is perfectly legal to assign a subclass object to a supper class reference.
  17. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  18. A class may be both abstract and final.
  19. Which of the following will produce a value of 10 if x = 9.7?
  20. In RMI we invoke client method from remote server
  21. putValue(...) method takes _____________________-
  22. A static class method can be invoked by simply using the name of the method alone.
  23. In the code below, what data types the variable x can have?
  24. Consider the following class definitions: class maths { student student1; } class student { String name;…
  25. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  26. Which of the following classes are available in the java.lang package?
  27. A constructor must always invoke its supper class constructor in its first statement.
  28. A catch can have comma-separated multiple arguments.
  29. class.forName(...) creates an instance of java ODBC driver
  30. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.