Home

All methods in an abstract class must be declared abstract.

A. True

B. False

You can do it
  1. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  2. A Java monitor must either extend thread class or implement Runnable interface.
  3. The break statement is required in the default case of a switch selection structure.
  4. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  5. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  6. Which of the following statements are true?
  7. The concept of multiple inheritance is implemented in Java by
  8. One the features of is that an array can store many different types of values.
  9. The import statement is always the first no comment statement in a Java program files.
  10. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  11. executeUpdate automatically updates data because___________
  12. A variable declared inside the for loop control can not be referenced out side the loop.
  13. class.forName(...) creates an instance of java ODBC driver
  14. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  15. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  16. Which of the following are the wrapper classes?
  17. Which of the following statements are valid array declarations?
  18. Declarations can appear anywhere in the body of a Java method.
  19. Which of the following keywords are used to control access to a class member?
  20. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  21. DataInput is
  22. Which of the following methods can be used to change the size of a size() *resize()
  23. Throwing an exception always causes program termination.
  24. Which of the following will produce a value of 22 if x=22.9:
  25. Which exception is thrown by the read() method of InputStream class?
  26. Which key word can protect a class in package from accessibility by the classes outside the package?
  27. The modulus operator (%) can be used only with Integer operands.
  28. In a single Servlet class we can use____________
  29. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  30. Which of the following methods can be used to remove a component from the display?