Home

Two methods cannot have the same name in Java.

A. True

B. False

You can do it
  1. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  2. The name of the RMI compiler is ___________
  3. Session bean
  4. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  5. The programmer must explicitly create the system .in and system .out objects.
  6. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  7. Frames and applets cannot be used together in the same program.
  8. We can add more than one class(es) at the time of compilation Java Beans.
  9. Which of the following are keywords?
  10. Servlet has ___________
  11. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  12. What is java -g used for?
  13. It is perfectly legal to refer to any instance variable inside of a static method.
  14. A JSP file can be stored_________________
  15. The import statement is always the first no comment statement in a Java program files.
  16. The break statement is required in the default case of a switch selection structure.
  17. The name of a Java program file must match the name of the class with the extension Java.
  18. putValue(...) method takes _____________________-
  19. One the features of is that an array can store many different types of values.
  20. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  21. Submit button always fires doPost(...)
  22. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  23. The keywords reserved but not used in the initial version of Java re:
  24. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  25. Any class may be inherited by another class in the same package.
  26. In the code below, what data types the variable x can have?
  27. Which of the following classes are available in the java.lang package?
  28. Declaring a method synchronized guarantees that the deadlock cannot occur.
  29. Which of the following keywords are used to control access to a class member?
  30. A Java monitor must either extend thread class or implement Runnable interface.