We can over load methods with differences only in their return type.

A. True

B. False

You can do it
  1. It is an error to have a method with the same signature in both the super class and its subclass.
  2. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  3. DataInput is
  4. A JSP file can be stored_________________
  5. A panel can not be added to another panel.
  6. Members of a class specified as private are accessible only to the methods of the class.
  7. Which of the following are the wrapper classes?
  8. In RMI we invoke client method from remote server
  9. A package is a collection of
  10. A constructor must always invoke its supper class constructor in its first statement.
  11. Give file is a file object, which of the following are legal statements to create a new file.
  12. Which are the valid ways to create DataInputStream streams?
  13. When we implement an interface method, it should be declared as public.
  14. A variable declared inside the for loop control can not be referenced out side the loop.
  15. When we invoke repaint () for a Component, the AWT invokes the method:
  16. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  17. All the bitwise operators have the same level of precedence in Java.
  18. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  19. Which of the following will produce a value of 10 if x = 9.7?
  20. executeUpdate(------------) returns ___________
  21. When present, package must be the first no comment statement in the file.
  22. Which of the following represent legal flow control statements?
  23. Consider the following class definitions: class maths { student student1; } class student { String name;…
  24. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  25. An EJB is a server-side component that encapsulates the business logic of an application
  26. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  27. Which javadoc tag is used to denote a comment for methods parameters?
  28. Which of the following represent legal flow control statements?
  29. Which key word can protect a class in package from accessibility by the classes outside the package?
  30. Which of the following classes are available in the java.lang package?