Home

Which of the following string can be used as mode string for creating a RandomAccessFile object?

A. "rw"

B. "wr"

C. "0"

D. 'w''

You can do it
  1. Frames and applets cannot be used together in the same program.
  2. The programmer must explicitly create the system .in and system .out objects.
  3. A variable declared inside the for loop control can not be referenced out side the loop.
  4. Which of the following methods can be used to change the size of a size() *resize()
  5. Which of the following represent legal flow control statements?
  6. Which of the following control expressions are valid for an if statement?
  7. JdbcOdbcDriver is an object of Object class
  8. Two methods cannot have the same name in Java.
  9. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  10. A class may be both abstract and final.
  11. Servlet has ___________
  12. A static class method can be invoked by simply using the name of the method alone.
  13. A Java monitor must either extend thread class or implement Runnable interface.
  14. The setBackground() method is part of the class
  15. A catch can have comma-separated multiple arguments.
  16. Which key word can protect a class in package from accessibility by the classes outside the package?
  17. An individual array element that is passed to a method and modified in that method will contain the…
  18. JSP files creates ________________
  19. The use of protected keyword to a member in a class will restrict its visibility as follows:
  20. We can over load methods with differences only in their return type.
  21. executeUpdate(------------) returns ___________
  22. Which of the following classes are available in the java.lang package?
  23. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  24. Which of the following statements are valid array declarations?
  25. Every method of a final in class is implicitly final.
  26. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  27. Which of the following methods can be used to remove a component from the display?
  28. Which of the following will produce a value of 10 if x = 9.7?
  29. Which of the following are the wrapper classes?
  30. It is an error to catch the same type of exception in two different catch blocks associated with a particular…