Two methods cannot have the same name in Java.

A. True

B. False

You can do it
  1. executeUpdate(------------) returns ___________
  2. An EJB is a server-side component that encapsulates the business logic of an application
  3. The programmer must explicitly create the system .in and system .out objects.
  4. A constructor must always invoke its supper class constructor in its first statement.
  5. Which of the following represent legal flow control statements?
  6. JSP files creates ________________
  7. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  8. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  9. The use of protected keyword to a member in a class will restrict its visibility as follows:
  10. Which of the following methods can be used to remove a component from the display?
  11. The name of a Java program file must match the name of the class with the extension Java.
  12. Which of the following statements are true?
  13. When the string objects are compared with ==, the result is true If the strings contain the same values.
  14. Which of the following will produce a value of 10 if x = 9.7?
  15. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  16. Frames and applets cannot be used together in the same program.
  17. A panel can not be added to another panel.
  18. Any class may be inherited by another class in the same package.
  19. In the code below, what data types the variable x can have?
  20. A catch can have comma-separated multiple arguments.
  21. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  22. With javadoc, which of the following denotes a javadoc comment?
  23. Which of the following methods can be used to draw the outline of a square?
  24. What does the following line of code do?TextField text=new TextField(10);
  25. Members of a class specified as private are accessible only to the methods of the class.
  26. In a single Servlet class we can use____________
  27. Which of the following statements are valid array declarations?
  28. It is perfectly legal to assign a subclass object to a supper class reference.
  29. JdbcOdbcDriver is an object of Object class
  30. Which of the following control expressions are valid for an if statement?