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. We can over load methods with differences only in their return type.
  2. The setBackground() method is part of the class
  3. The modulus operator (%) can be used only with Integer operands.
  4. Which of the following keywords are used to control access to a class member?
  5. We would like to make a member of a class visible in all subclasses regardless of what package they…
  6. DataInput is
  7. Which exception is thrown by the read() method of InputStream class?
  8. Which key word can protect a class in package from accessibility by the classes outside the package?
  9. It is an error to have a method with the same signature in both the super class and its subclass.
  10. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  11. What is java -g used for?
  12. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  13. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  14. The check box group class is a subclass of the component class.
  15. A variable declared inside the for loop control can not be referenced out side the loop.
  16. We can add more than one class(es) at the time of compilation Java Beans.
  17. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  18. Two methods cannot have the same name in Java.
  19. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  20. Any method in a supper class can be over ridden in its subclass.
  21. The default case is always required in the switch selection structure.
  22. Session bean
  23. One the features of is that an array can store many different types of values.
  24. A JSP file can be stored_________________
  25. The keywords reserved but not used in the initial version of Java re:
  26. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  27. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  28. The length of a string object 's1' can be obtained using the expression s1.length.
  29. All the bitwise operators have the same level of precedence in Java.
  30. A static class method can be invoked by simply using the name of the method alone.