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. Which of the following will produce a value of 22 if x=22.9:
  2. The modulus operator (%) can be used only with Integer operands.
  3. Which javadoc tag is used to denote a comment for methods parameters?
  4. When the string objects are compared with ==, the result is true If the strings contain the same values.
  5. EJBs can be of the following type(s)None of the above
  6. A constructor must always invoke its supper class constructor in its first statement.
  7. Which of the following statements are true?
  8. In order to connect to a database through java program we must create _______-
  9. The concept of multiple inheritance is implemented in Java by
  10. Given the codeString s = new String("abc");Which of the following calls are valid?
  11. Which key word can protect a class in package from accessibility by the classes outside the package?
  12. In the code below, what data types the variable x can have?
  13. Which of the following command lines options generates documentation for all classes and methods?
  14. Declaring a method synchronized guarantees that the deadlock cannot occur.
  15. It is perfectly legal to refer to any instance variable inside of a static method.
  16. An individual array element that is passed to a method and modified in that method will contain the…
  17. Members of a class specified as private are accessible only to the methods of the class.
  18. The name of the RMI compiler is ___________
  19. The keywords reserved but not used in the initial version of Java re:
  20. The import statement is always the first no comment statement in a Java program files.
  21. Which of the following control expressions are valid for an if statement?
  22. The check box group class is a subclass of the component class.
  23. When we invoke repaint () for a Component, the AWT invokes the method:
  24. Which are the valid ways to create DataInputStream streams?
  25. One the features of is that an array can store many different types of values.
  26. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  27. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  28. All methods in an abstract class must be declared abstract.
  29. A JSP file can be stored_________________
  30. Which of the following statements are true?