Home

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

A. True

B. False

You can do it
  1. The name of a Java program file must match the name of the class with the extension Java.
  2. Java is fully object oriented programme.
  3. Throwing an exception always causes program termination.
  4. Given the codeString s = new String("abc");Which of the following calls are valid?
  5. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  6. Consider the following class definitions: class maths { student student1; } class student { String name;…
  7. A string object can not be modified after it is created.
  8. The length of a string object 's1' can be obtained using the expression s1.length.
  9. Which of the following statements are true?
  10. The check box group class is a subclass of the component class.
  11. DataInput is
  12. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  13. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  14. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  15. Servlet has ___________
  16. Which are the valid ways to create DataInputStream streams?
  17. The name of the RMI compiler is ___________
  18. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  19. A catch can have comma-separated multiple arguments.
  20. executeUpdate(------------) returns ___________
  21. The default case is always required in the switch selection structure.
  22. EJBs can be of the following type(s)None of the above
  23. A JSP file can be stored_________________
  24. When we implement the Runnable interface, we must define the method
  25. Which of the following methods can be used to change the size of a size() *resize()
  26. Which of the following methods can be used to draw the outline of a square?
  27. Any class may be inherited by another class in the same package.
  28. Which of the following methods can be used to remove a component from the display?
  29. JSP files creates ________________
  30. In RMI we invoke client method from remote server