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

A. True

B. False

You can do it
  1. A variable declared inside the for loop control can not be referenced out side the loop.
  2. Two methods cannot have the same name in Java.
  3. A catch can have comma-separated multiple arguments.
  4. Which of the following classes are available in the java.lang package?
  5. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  6. The methods wait() and noify() are defined in
  7. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  8. Which of the following statements are true?
  9. Which exception is thrown by the read() method of InputStream class?
  10. JSP files creates ________________
  11. The use of protected keyword to a member in a class will restrict its visibility as follows:
  12. Which of the following methods can be used to draw the outline of a square?
  13. Which of the following command lines options generates documentation for all classes and methods?
  14. Which of the following represent legal flow control statements?
  15. In the code below, what data types the variable x can have?
  16. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  17. executeUpdate automatically updates data because___________
  18. Frames and applets cannot be used together in the same program.
  19. Connection, Statement are interfaces and ResultSet is a class.
  20. Every method of a final in class is implicitly final.
  21. Which of the following are keywords?
  22. With javadoc, which of the following denotes a javadoc comment?
  23. A panel can not be added to another panel.
  24. class.forName(...) creates an instance of java ODBC driver
  25. The setBackground() method is part of the class
  26. Submit button always fires doPost(...)
  27. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  28. All the bitwise operators have the same level of precedence in Java.
  29. A string object can not be modified after it is created.
  30. Which of the following control expressions are valid for an if statement?