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

A. True

B. False

You can do it
  1. Which of the following statements are valid array declarations?
  2. Which of the following control expressions are valid for an if statement?
  3. Connection, Statement are interfaces and ResultSet is a class.
  4. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  5. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  6. A constructor must always invoke its supper class constructor in its first statement.
  7. Consider the following class definitions: class maths { student student1; } class student { String name;…
  8. A Java monitor must either extend thread class or implement Runnable interface.
  9. A variable declared inside the for loop control can not be referenced out side the loop.
  10. Throwing an exception always causes program termination.
  11. The keywords reserved but not used in the initial version of Java re:
  12. Every method of a final in class is implicitly final.
  13. Which of the following methods can be used to draw the outline of a square?
  14. Declaring a method synchronized guarantees that the deadlock cannot occur.
  15. The programmer must explicitly create the system .in and system .out objects.
  16. Which of the following command lines options generates documentation for all classes and methods?
  17. Which exception is thrown by the read() method of InputStream class?
  18. Which of the following will produce a value of 22 if x=22.9:
  19. In a single Servlet class we can use____________
  20. forName() is a static factory method
  21. A package is a collection of
  22. An individual array element that is passed to a method and modified in that method will contain the…
  23. Which of the following methods can be used to remove a component from the display?
  24. When we invoke repaint () for a Component, the AWT invokes the method:
  25. Given the codeString s = new String("abc");Which of the following calls are valid?
  26. It is perfectly legal to assign a subclass object to a supper class reference.
  27. class.forName(...) creates an instance of java ODBC driver
  28. Which of the following methods belong to the String class?
  29. Which of the following are keywords?
  30. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.