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. Which of the following control expressions are valid for an if statement?
  2. executeUpdate(------------) returns ___________
  3. The length of a string object 's1' can be obtained using the expression s1.length.
  4. We would like to make a member of a class visible in all subclasses regardless of what package they…
  5. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  6. Members of a class specified as private are accessible only to the methods of the class.
  7. Any class may be inherited by another class in the same package.
  8. Any method in a supper class can be over ridden in its subclass.
  9. In a single Servlet class we can use____________
  10. We can add more than one class(es) at the time of compilation Java Beans.
  11. The default case is always required in the switch selection structure.
  12. A constructor must always invoke its supper class constructor in its first statement.
  13. A panel can not be added to another panel.
  14. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  15. It is an error to have a method with the same signature in both the super class and its subclass.
  16. Which exception is thrown by the read() method of InputStream class?
  17. A method declared as static can not access non-static class members.
  18. Which of the following keywords are used to control access to a class member?
  19. The keywords reserved but not used in the initial version of Java re:
  20. It is perfectly legal to refer to any instance variable inside of a static method.
  21. Which are the valid ways to create DataInputStream streams?
  22. Which of the following are not keywords?
  23. We can over load methods with differences only in their return type.
  24. One the features of is that an array can store many different types of values.
  25. When the string objects are compared with ==, the result is true If the strings contain the same values.
  26. In RMI before running the client program we must start RMI Registry.
  27. All methods in an abstract class must be declared abstract.
  28. Which of the following are the wrapper classes?
  29. A JSP file can be stored_________________
  30. In the code below, what data types the variable x can have?