Code example for DataOutputStream

Methods: writeBoolean, writeFloat