Asked by Rosemary Rubino on Jul 21, 2024

verifed

Verified

The class ObjectInputStream contains all of the following methods except:

A) readLine)
B) readChar)
C) readObject)
D) readInt)

ObjectInputStream

A Java API that allows for deserialization of objects and primitives data types from an InputStream.

ReadLine

A method used in programming to read a line of text from a user input or a file input stream.

ReadChar

A function or method in programming languages used to read a single character from input.

  • Recognize and handle classes and methods designed for file and stream operations in Java effectively.
  • Familiarize oneself with the functionalities and uses of diverse file classes in Java.
verifed

Verified Answer

EJ
ELIZABETH JAICEJul 22, 2024
Final Answer :
A
Explanation :
The ObjectInputStream class does not contain a readLine method. It contains readChar, readObject, and readInt methods among others.