Home

Objects are passed to a method by use of call-by-reference.

A. True

B. False

You can do it
  1. JSP files creates ________________
  2. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  3. Which of the following will produce a value of 22 if x=22.9:
  4. An EJB is a server-side component that encapsulates the business logic of an application
  5. A catch can have comma-separated multiple arguments.
  6. What is java -g used for?
  7. The import statement is always the first no comment statement in a Java program files.
  8. Which of the following represent legal flow control statements?
  9. Which of the following classes are available in the java.lang package?
  10. A package is a collection of
  11. The keywords reserved but not used in the initial version of Java re:
  12. When we implement an interface method, it should be declared as public.
  13. In a single Servlet class we can use____________
  14. The default case is always required in the switch selection structure.
  15. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  16. Which of the following keywords are used to control access to a class member?
  17. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  18. Which of the following methods can be used to remove a component from the display?
  19. When present, package must be the first no comment statement in the file.
  20. The length of a string object 's1' can be obtained using the expression s1.length.
  21. Which of the following statements are true?
  22. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  23. A final class may not have any abstract method.
  24. In the code below, what data types the variable x can have?
  25. The use of protected keyword to a member in a class will restrict its visibility as follows:
  26. Java always provides a default constructor to a class.
  27. Servlet can have ___________
  28. Connection, Statement are interfaces and ResultSet is a class.
  29. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  30. In RMI before running the client program we must start RMI Registry.