Home

It is an error to have a method with the same signature in both the super class and its subclass.

A. True

B. False

You can do it
  1. The methods wait() and noify() are defined in
  2. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  3. Which of the following statements are true?
  4. In RMI before running the client program we must start RMI Registry.
  5. Any class may be inherited by another class in the same package.
  6. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  7. Which of the following classes are available in the java.lang package?
  8. When we invoke repaint () for a Component, the AWT invokes the method:
  9. Which of the following statements are true?
  10. Which of the following control expressions are valid for an if statement?
  11. Servlet has ___________
  12. The name of the RMI compiler is ___________
  13. Members of a class specified as private are accessible only to the methods of the class.
  14. The check box group class is a subclass of the component class.
  15. Servlet can have ___________
  16. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  17. Any method in a supper class can be over ridden in its subclass.
  18. All the bitwise operators have the same level of precedence in Java.
  19. Which of the following represent legal flow control statements?
  20. Consider the following class definitions: class maths { student student1; } class student { String name;…
  21. EJBs can be of the following type(s)None of the above
  22. Submit button always fires doPost(...)
  23. In order to connect to a database through java program we must create _______-
  24. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  25. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  26. A Java monitor must either extend thread class or implement Runnable interface.
  27. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  28. Frames and applets cannot be used together in the same program.
  29. We would like to make a member of a class visible in all subclasses regardless of what package they…
  30. In the code below, what data types the variable x can have?