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. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  2. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  3. Which of the following methods can be used to remove a component from the display?
  4. Which of the following methods can be used to change the size of a size() *resize()
  5. A constructor must always invoke its supper class constructor in its first statement.
  6. With javadoc, which of the following denotes a javadoc comment?
  7. JdbcOdbcDriver is an object of Object class
  8. When we implement an interface method, it should be declared as public.
  9. In RMI we invoke client method from remote server
  10. Session bean
  11. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  12. Which javadoc tag is used to denote a comment for methods parameters?
  13. In order to connect to a database through java program we must create _______-
  14. We can over load methods with differences only in their return type.
  15. Which of the following classes are available in the java.lang package?
  16. The setBackground() method is part of the class
  17. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  18. Which of the following represent legal flow control statements?
  19. Which of the following are keywords?
  20. When we invoke repaint () for a Component, the AWT invokes the method:
  21. All methods in an abstract class must be declared abstract.
  22. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  23. In a single Servlet class we can use____________
  24. forName() is a static factory method
  25. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  26. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  27. The break statement is required in the default case of a switch selection structure.
  28. What does the following line of code do?TextField text=new TextField(10);
  29. One the features of is that an array can store many different types of values.
  30. Java always provides a default constructor to a class.