Home

DataInput is

A. An abstract class defined is java.io.

B. A class we can use to read primitive data types.

C. An interface that defines methods to open files.

D. An interface that defines methods to read primitive data types.

You can do it
  1. Connection, Statement are interfaces and ResultSet is a class.
  2. Give file is a file object, which of the following are legal statements to create a new file.
  3. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  4. Declaring a method synchronized guarantees that the deadlock cannot occur.
  5. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  6. EJBs can be of the following type(s)None of the above
  7. An individual array element that is passed to a method and modified in that method will contain the…
  8. The break statement is required in the default case of a switch selection structure.
  9. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  10. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  11. We can add more than one class(es) at the time of compilation Java Beans.
  12. A Java monitor must either extend thread class or implement Runnable interface.
  13. Which javadoc tag is used to denote a comment for methods parameters?
  14. Which are the valid ways to create DataInputStream streams?
  15. executeUpdate automatically updates data because___________
  16. A class may be both abstract and final.
  17. Which of the following statements are true?
  18. The keywords reserved but not used in the initial version of Java re:
  19. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  20. Any method in a supper class can be over ridden in its subclass.
  21. Which of the following methods can be used to draw the outline of a square?
  22. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  23. When the string objects are compared with ==, the result is true If the strings contain the same values.
  24. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  25. Which of the following are keywords?
  26. Which of the following will produce a value of 10 if x = 9.7?
  27. Servlet has ___________
  28. A final class may not have any abstract method.
  29. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  30. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.