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 are keywords?
  2. Session bean
  3. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  4. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  5. An individual array element that is passed to a method and modified in that method will contain the…
  6. Which of the following methods belong to the String class?
  7. When present, package must be the first no comment statement in the file.
  8. Submit button always fires doPost(...)
  9. A string object can not be modified after it is created.
  10. Which of the following statements are true?
  11. In the code below, what data types the variable x can have?
  12. Which of the following control expressions are valid for an if statement?
  13. One the features of is that an array can store many different types of values.
  14. A catch can have comma-separated multiple arguments.
  15. executeUpdate(------------) returns ___________
  16. It is perfectly legal to refer to any instance variable inside of a static method.
  17. A Java monitor must either extend thread class or implement Runnable interface.
  18. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  19. A constructor must always invoke its supper class constructor in its first statement.
  20. JdbcOdbcDriver is an object of Object class
  21. The concept of multiple inheritance is implemented in Java by
  22. It is perfectly legal to assign a subclass object to a supper class reference.
  23. putValue(...) method takes _____________________-
  24. DataInput is
  25. An EJB is a server-side component that encapsulates the business logic of an application
  26. Which are the valid ways to create DataInputStream streams?
  27. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  28. The keywords reserved but not used in the initial version of Java re:
  29. A JSP file can be stored_________________
  30. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.