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. To delete a file, we can use an instance of class file.
  2. Which exception is thrown by the read() method of InputStream class?
  3. The concept of multiple inheritance is implemented in Java by
  4. Java always provides a default constructor to a class.
  5. The import statement is always the first no comment statement in a Java program files.
  6. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  7. forName() is a static factory method
  8. The programmer must explicitly create the system .in and system .out objects.
  9. Given the codeString s = new String("abc");Which of the following calls are valid?
  10. A string object can not be modified after it is created.
  11. With javadoc, which of the following denotes a javadoc comment?
  12. In the code below, what data types the variable x can have?
  13. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  14. Declaring a method synchronized guarantees that the deadlock cannot occur.
  15. EJBs can be of the following type(s)None of the above
  16. We would like to make a member of a class visible in all subclasses regardless of what package they…
  17. The methods wait() and noify() are defined in
  18. In order to connect to a database through java program we must create _______-
  19. Give file is a file object, which of the following are legal statements to create a new file.
  20. Which of the following statements are true?
  21. Any method in a supper class can be over ridden in its subclass.
  22. executeUpdate(------------) returns ___________
  23. We can add more than one class(es) at the time of compilation Java Beans.
  24. Submit button always fires doPost(...)
  25. The keywords reserved but not used in the initial version of Java re:
  26. When present, package must be the first no comment statement in the file.
  27. Frames and applets cannot be used together in the same program.
  28. It is perfectly legal to refer to any instance variable inside of a static method.
  29. All the bitwise operators have the same level of precedence in Java.
  30. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.