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. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  2. Which of the following are not keywords?
  3. A catch can have comma-separated multiple arguments.
  4. The check box group class is a subclass of the component class.
  5. The name of the RMI compiler is ___________
  6. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  7. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  8. Servlet has ___________
  9. The keywords reserved but not used in the initial version of Java re:
  10. What is java -g used for?
  11. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  12. The programmer must explicitly create the system .in and system .out objects.
  13. A variable declared inside the for loop control can not be referenced out side the loop.
  14. All the bitwise operators have the same level of precedence in Java.
  15. All methods in an abstract class must be declared abstract.
  16. Consider the following class definitions: class maths { student student1; } class student { String name;…
  17. When the string objects are compared with ==, the result is true If the strings contain the same values.
  18. Servlet can have ___________
  19. Any class may be inherited by another class in the same package.
  20. DataInput is
  21. Which of the following represent legal flow control statements?
  22. Which of the following statements are true?
  23. Any method in a supper class can be over ridden in its subclass.
  24. It is perfectly legal to refer to any instance variable inside of a static method.
  25. Which of the following statements are valid array declarations?
  26. When we invoke repaint () for a Component, the AWT invokes the method:
  27. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  28. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  29. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  30. The length of a string object 's1' can be obtained using the expression s1.length.