Home

Throwing an exception always causes program termination.

A. True

B. False

You can do it
  1. A method declared as static can not access non-static class members.
  2. JdbcOdbcDriver is an object of Object class
  3. Which of the following statements are true?
  4. A string object can not be modified after it is created.
  5. All the bitwise operators have the same level of precedence in Java.
  6. Which of the following are the wrapper classes?
  7. Give file is a file object, which of the following are legal statements to create a new file.
  8. Servlet can have ___________
  9. The methods wait() and noify() are defined in
  10. It is an error to have a method with the same signature in both the super class and its subclass.
  11. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  12. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  13. In order to connect to a database through java program we must create _______-
  14. Which of the following methods can be used to remove a component from the display?
  15. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  16. The length of a string object 's1' can be obtained using the expression s1.length.
  17. Which of the following will produce a value of 10 if x = 9.7?
  18. Frames and applets cannot be used together in the same program.
  19. We would like to make a member of a class visible in all subclasses regardless of what package they…
  20. Which of the following methods belong to the String class?
  21. A Java monitor must either extend thread class or implement Runnable interface.
  22. A panel can not be added to another panel.
  23. We can over load methods with differences only in their return type.
  24. In a single Servlet class we can use____________
  25. The break statement is required in the default case of a switch selection structure.
  26. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  27. All methods in an abstract class must be declared abstract.
  28. A final class may not have any abstract method.
  29. Which of the following will produce a value of 22 if x=22.9:
  30. Which of the following statements are valid array declarations?