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. EJBs can be of the following type(s)None of the above
  2. We can add more than one class(es) at the time of compilation Java Beans.
  3. The check box group class is a subclass of the component class.
  4. Which of the following methods belong to the String class?
  5. A constructor must always invoke its supper class constructor in its first statement.
  6. In RMI before running the client program we must start RMI Registry.
  7. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  8. With javadoc, which of the following denotes a javadoc comment?
  9. Which javadoc tag is used to denote a comment for methods parameters?
  10. An EJB is a server-side component that encapsulates the business logic of an application
  11. In a single Servlet class we can use____________
  12. It is an error to have a method with the same signature in both the super class and its subclass.
  13. Servlet has ___________
  14. Members of a class specified as private are accessible only to the methods of the class.
  15. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  16. An individual array element that is passed to a method and modified in that method will contain the…
  17. A final class may not have any abstract method.
  18. When present, package must be the first no comment statement in the file.
  19. Servlet can have ___________
  20. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  21. Which of the following methods can be used to draw the outline of a square?
  22. In the code below, what data types the variable x can have?
  23. The break statement is required in the default case of a switch selection structure.
  24. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  25. We can over load methods with differences only in their return type.
  26. It is perfectly legal to refer to any instance variable inside of a static method.
  27. Java is fully object oriented programme.
  28. A method declared as static can not access non-static class members.
  29. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  30. What is java -g used for?