Home

What is the correct answer?

4

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.

Correct Answer :

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


Related Questions

Every call to wait has a corresponding call to notify that will eventually… Which of the following methods belong to the String class? JdbcOdbcDriver is an object of Object class Submit button always fires doPost(...) All the bitwise operators have the same level of precedence in Java. The keywords reserved but not used in the initial version of Java re: A Java monitor must either extend thread class or implement Runnable interface. When X is a positive number the operations x>> 2 and x>>>2… Which of the following statements are valid array declarations? The break statement is required in the default case of a switch selection… An EJB is a server-side component that encapsulates the business logic… EJBs can be of the following type(s)None of the above Which of the following control expressions are valid for an if statement? Which of the following string can be used as mode string for creating… If you want to assign a value of 99 to the variable year, then which of… Which of the following are the wrapper classes? A static class method can be invoked by simply using the name of the method… The default case is always required in the switch selection structure. For all insert, update, delete, query operations on a database, ResultSet… Consider the following statements: int x = 10, y = 15; x = ((x < y)… class.forName(...) creates an instance of java ODBC driver A panel can not be added to another panel. The length of a string object 's1' can be obtained using the expression… Any class may be inherited by another class in the same package. We can over load methods with differences only in their return type. Which are the valid ways to create DataInputStream streams? Which of the following statements are true? If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value… Throwing an exception always causes program termination. Declaring a method synchronized guarantees that the deadlock cannot occur.