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. A variable declared inside the for loop control can not be referenced out side the loop.
  2. In RMI before running the client program we must start RMI Registry.
  3. In RMI we invoke client method from remote server
  4. Every method of a final in class is implicitly final.
  5. EJBs can be of the following type(s)None of the above
  6. A final class may not have any abstract method.
  7. Which exception is thrown by the read() method of InputStream class?
  8. Servlet has ___________
  9. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  10. To delete a file, we can use an instance of class file.
  11. The modulus operator (%) can be used only with Integer operands.
  12. The name of a Java program file must match the name of the class with the extension Java.
  13. A JSP file can be stored_________________
  14. The keywords reserved but not used in the initial version of Java re:
  15. Which of the following will produce a value of 10 if x = 9.7?
  16. Which of the following control expressions are valid for an if statement?
  17. Frames and applets cannot be used together in the same program.
  18. All methods in an abstract class must be declared abstract.
  19. Consider the following class definitions: class maths { student student1; } class student { String name;…
  20. Which of the following are not keywords?
  21. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  22. A method declared as static can not access non-static class members.
  23. When we implement an interface method, it should be declared as public.
  24. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  25. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  26. Which of the following are the wrapper classes?
  27. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  28. A constructor must always invoke its supper class constructor in its first statement.
  29. We can over load methods with differences only in their return type.
  30. DataInput is