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. Which of the following methods belong to the String class?
  2. Objects are passed to a method by use of call-by-reference.
  3. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  4. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  5. Which of the following statements are valid array declarations?
  6. putValue(...) method takes _____________________-
  7. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  8. Which of the following classes are available in the java.lang package?
  9. Which of the following methods can be used to draw the outline of a square?
  10. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  11. Which of the following keywords are used to control access to a class member?
  12. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  13. What is java -g used for?
  14. The use of protected keyword to a member in a class will restrict its visibility as follows:
  15. The name of a Java program file must match the name of the class with the extension Java.
  16. A panel can not be added to another panel.
  17. The modulus operator (%) can be used only with Integer operands.
  18. EJBs can be of the following type(s)None of the above
  19. The keywords reserved but not used in the initial version of Java re:
  20. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  21. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  22. One the features of is that an array can store many different types of values.
  23. The import statement is always the first no comment statement in a Java program files.
  24. Submit button always fires doPost(...)
  25. The name of the RMI compiler is ___________
  26. Session bean
  27. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  28. In order to connect to a database through java program we must create _______-
  29. To delete a file, we can use an instance of class file.
  30. Which of the following statements are true?