Home

A class may be both abstract and final.

A. True

B. False

You can do it
  1. Connection, Statement are interfaces and ResultSet is a class.
  2. It is perfectly legal to assign a subclass object to a supper class reference.
  3. The setBackground() method is part of the class
  4. The name of a Java program file must match the name of the class with the extension Java.
  5. The import statement is always the first no comment statement in a Java program files.
  6. Which of the following methods belong to the String class?
  7. All the bitwise operators have the same level of precedence in Java.
  8. Java always provides a default constructor to a class.
  9. putValue(...) method takes _____________________-
  10. The concept of multiple inheritance is implemented in Java by
  11. Which of the following are keywords?
  12. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  13. A constructor must always invoke its supper class constructor in its first statement.
  14. We can add more than one class(es) at the time of compilation Java Beans.
  15. Any class may be inherited by another class in the same package.
  16. The programmer must explicitly create the system .in and system .out objects.
  17. Which of the following control expressions are valid for an if statement?
  18. A panel can not be added to another panel.
  19. A string object can not be modified after it is created.
  20. The keywords reserved but not used in the initial version of Java re:
  21. EJBs can be of the following type(s)None of the above
  22. Every method of a final in class is implicitly final.
  23. Session bean
  24. When we invoke repaint () for a Component, the AWT invokes the method:
  25. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  26. The check box group class is a subclass of the component class.
  27. class.forName(...) creates an instance of java ODBC driver
  28. In the code below, what data types the variable x can have?
  29. JSP files creates ________________
  30. JdbcOdbcDriver is an object of Object class