Home

All methods in an abstract class must be declared abstract.

A. True

B. False

You can do it
  1. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  2. Two methods cannot have the same name in Java.
  3. Servlet has ___________
  4. A string object can not be modified after it is created.
  5. Which javadoc tag is used to denote a comment for methods parameters?
  6. Frames and applets cannot be used together in the same program.
  7. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  8. Which of the following classes are available in the java.lang package?
  9. Which of the following are keywords?
  10. executeUpdate(------------) returns ___________
  11. A static class method can be invoked by simply using the name of the method alone.
  12. The break statement is required in the default case of a switch selection structure.
  13. The keywords reserved but not used in the initial version of Java re:
  14. Throwing an exception always causes program termination.
  15. All the bitwise operators have the same level of precedence in Java.
  16. Give file is a file object, which of the following are legal statements to create a new file.
  17. Objects are passed to a method by use of call-by-reference.
  18. Connection, Statement are interfaces and ResultSet is a class.
  19. The default case is always required in the switch selection structure.
  20. A final class may not have any abstract method.
  21. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  22. DataInput is
  23. It is perfectly legal to assign a subclass object to a supper class reference.
  24. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  25. Which of the following statements are true?
  26. class.forName(...) creates an instance of java ODBC driver
  27. Which of the following will produce a value of 10 if x = 9.7?
  28. Which of the following control expressions are valid for an if statement?
  29. The import statement is always the first no comment statement in a Java program files.
  30. Which exception is thrown by the read() method of InputStream class?