Two methods cannot have the same name in Java.

A. True

B. False

You can do it
  1. A final class may not have any abstract method.
  2. Declarations can appear anywhere in the body of a Java method.
  3. When the string objects are compared with ==, the result is true If the strings contain the same values.
  4. The methods wait() and noify() are defined in
  5. A constructor must always invoke its supper class constructor in its first statement.
  6. An EJB is a server-side component that encapsulates the business logic of an application
  7. The default case is always required in the switch selection structure.
  8. Submit button always fires doPost(...)
  9. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  10. Which of the following keywords are used to control access to a class member?
  11. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  12. The name of a Java program file must match the name of the class with the extension Java.
  13. Which of the following will produce a value of 10 if x = 9.7?
  14. All the bitwise operators have the same level of precedence in Java.
  15. A variable declared inside the for loop control can not be referenced out side the loop.
  16. class.forName(...) creates an instance of java ODBC driver
  17. To delete a file, we can use an instance of class file.
  18. When we invoke repaint () for a Component, the AWT invokes the method:
  19. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  20. Which of the following control expressions are valid for an if statement?
  21. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  22. Which of the following methods can be used to remove a component from the display?
  23. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  24. Throwing an exception always causes program termination.
  25. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  26. JSP files creates ________________
  27. Servlet has ___________
  28. Frames and applets cannot be used together in the same program.
  29. putValue(...) method takes _____________________-
  30. When present, package must be the first no comment statement in the file.