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. Which of the following methods belong to the String class?
  2. A constructor must always invoke its supper class constructor in its first statement.
  3. Which exception is thrown by the read() method of InputStream class?
  4. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  5. The check box group class is a subclass of the component class.
  6. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  7. Which of the following statements are valid array declarations?
  8. A static class method can be invoked by simply using the name of the method alone.
  9. Session bean
  10. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  11. Frames and applets cannot be used together in the same program.
  12. When the string objects are compared with ==, the result is true If the strings contain the same values.
  13. One the features of is that an array can store many different types of values.
  14. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  15. Which key word can protect a class in package from accessibility by the classes outside the package?
  16. The methods wait() and noify() are defined in
  17. Which of the following command lines options generates documentation for all classes and methods?
  18. The name of a Java program file must match the name of the class with the extension Java.
  19. Which of the following methods can be used to draw the outline of a square?
  20. Which javadoc tag is used to denote a comment for methods parameters?
  21. Which of the following represent legal flow control statements?
  22. In order to connect to a database through java program we must create _______-
  23. Which of the following represent legal flow control statements?
  24. Which of the following statements are true?
  25. Which of the following are not keywords?
  26. Which of the following classes are available in the java.lang package?
  27. Java is fully object oriented programme.
  28. Connection, Statement are interfaces and ResultSet is a class.
  29. Given the codeString s = new String("abc");Which of the following calls are valid?
  30. Submit button always fires doPost(...)