Home

Two methods cannot have the same name in Java.

A. True

B. False

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

You can do it
  1. Which are the valid ways to create DataInputStream streams?
  2. Which of the following control expressions are valid for an if statement?
  3. A JSP file can be stored_________________
  4. A final class may not have any abstract method.
  5. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  6. We would like to make a member of a class visible in all subclasses regardless of what package they…
  7. To delete a file, we can use an instance of class file.
  8. Which of the following will produce a value of 22 if x=22.9:
  9. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  10. Any class may be inherited by another class in the same package.
  11. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  12. A string object can not be modified after it is created.
  13. A class may be both abstract and final.
  14. When we implement an interface method, it should be declared as public.
  15. A variable declared inside the for loop control can not be referenced out side the loop.
  16. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  17. A static class method can be invoked by simply using the name of the method alone.
  18. Any method in a supper class can be over ridden in its subclass.
  19. Which of the following statements are true?
  20. Which javadoc tag is used to denote a comment for methods parameters?
  21. The break statement is required in the default case of a switch selection structure.
  22. With javadoc, which of the following denotes a javadoc comment?
  23. Which of the following classes are available in the java.lang package?
  24. In a single Servlet class we can use____________
  25. DataInput is
  26. Java always provides a default constructor to a class.
  27. Which of the following will produce a value of 10 if x = 9.7?
  28. executeUpdate(------------) returns ___________
  29. Which of the following represent legal flow control statements?
  30. JSP files creates ________________