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. The methods wait() and noify() are defined in
  2. One the features of is that an array can store many different types of values.
  3. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  4. executeUpdate automatically updates data because___________
  5. Frames and applets cannot be used together in the same program.
  6. Give file is a file object, which of the following are legal statements to create a new file.
  7. What does the following line of code do?TextField text=new TextField(10);
  8. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  9. The name of the RMI compiler is ___________
  10. Which of the following statements are true?
  11. Which of the following are not keywords?
  12. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  13. An individual array element that is passed to a method and modified in that method will contain the…
  14. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  15. When the string objects are compared with ==, the result is true If the strings contain the same values.
  16. A final class may not have any abstract method.
  17. Declarations can appear anywhere in the body of a Java method.
  18. Which of the following control expressions are valid for an if statement?
  19. A catch can have comma-separated multiple arguments.
  20. Java is fully object oriented programme.
  21. The setBackground() method is part of the class
  22. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  23. We would like to make a member of a class visible in all subclasses regardless of what package they…
  24. The break statement is required in the default case of a switch selection structure.
  25. Which of the following methods can be used to change the size of a size() *resize()
  26. Which of the following command lines options generates documentation for all classes and methods?
  27. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  28. It is perfectly legal to assign a subclass object to a supper class reference.
  29. Which of the following will produce a value of 10 if x = 9.7?
  30. The length of a string object 's1' can be obtained using the expression s1.length.