Home

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

A. True

B. False

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. With javadoc, which of the following denotes a javadoc comment?
  2. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  3. Throwing an exception always causes program termination.
  4. What does the following line of code do?TextField text=new TextField(10);
  5. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  6. DataInput is
  7. Which of the following represent legal flow control statements?
  8. Java is fully object oriented programme.
  9. When we invoke repaint () for a Component, the AWT invokes the method:
  10. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  11. A method declared as static can not access non-static class members.
  12. Servlet has ___________
  13. To delete a file, we can use an instance of class file.
  14. When we implement the Runnable interface, we must define the method
  15. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  16. We can over load methods with differences only in their return type.
  17. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  18. The programmer must explicitly create the system .in and system .out objects.
  19. It is perfectly legal to refer to any instance variable inside of a static method.
  20. executeUpdate automatically updates data because___________
  21. A string object can not be modified after it is created.
  22. A variable declared inside the for loop control can not be referenced out side the loop.
  23. Consider the following class definitions: class maths { student student1; } class student { String name;…
  24. Any method in a supper class can be over ridden in its subclass.
  25. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  26. Connection, Statement are interfaces and ResultSet is a class.
  27. Declaring a method synchronized guarantees that the deadlock cannot occur.
  28. Two methods cannot have the same name in Java.
  29. All methods in an abstract class must be declared abstract.
  30. The setBackground() method is part of the class