Java ObjectInputStream readDouble() MethodThe readDouble() method of ObjectInputStream is used to read 64-bit double. SyntaxParameterNo parameter is passed. ReturnsThe 64-bit double read. ThrowsEOFException - If the end of file is reached. IOException - If other I/O error has occurred. Example 1Output: 106.0 97.0 118.0 97.0 84.0 112.0 111.0 105.0 110.0 116.0 Example 2Output: 21.0 22.0 23.0 45.0 67.9 66.0
Next TopicJava ObjectInputStream
|