Code example for DataOutputStream

Methods: writeDouble

0
	public void writeBytes(byte[] data) throws IOException {
		bos.write(data);
	} 
 
	public void writeDouble(double d) throws IOException {
		dos.writeDouble(d);
	} 
 
	public void writeInt(int i) throws IOException {
		dos.writeInt(i);
	} 
 
	public void flush() throws IOException { 
		dos.flush();
		bos.flush();
	} 
 
}