It is perfectly legal to assign a subclass object to a supper class reference.

A. True

B. False

You can do it
  1. executeUpdate automatically updates data because___________
  2. We can add more than one class(es) at the time of compilation Java Beans.
  3. A JSP file can be stored_________________
  4. Which of the following statements are true?
  5. A Java monitor must either extend thread class or implement Runnable interface.
  6. The name of the RMI compiler is ___________
  7. It is an error to have a method with the same signature in both the super class and its subclass.
  8. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  9. A constructor must always invoke its supper class constructor in its first statement.
  10. The default case is always required in the switch selection structure.
  11. Servlet has ___________
  12. Throwing an exception always causes program termination.
  13. An individual array element that is passed to a method and modified in that method will contain the…
  14. Give file is a file object, which of the following are legal statements to create a new file.
  15. To delete a file, we can use an instance of class file.
  16. When the string objects are compared with ==, the result is true If the strings contain the same values.
  17. Every method of a final in class is implicitly final.
  18. In RMI we invoke client method from remote server
  19. Which exception is thrown by the read() method of InputStream class?
  20. Which of the following are not keywords?
  21. Which of the following represent legal flow control statements?
  22. Which of the following represent legal flow control statements?
  23. EJBs can be of the following type(s)None of the above
  24. Which of the following command lines options generates documentation for all classes and methods?
  25. The check box group class is a subclass of the component class.
  26. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  27. Java always provides a default constructor to a class.
  28. Which of the following control expressions are valid for an if statement?
  29. Any class may be inherited by another class in the same package.
  30. Which of the following are keywords?