The following table depicts the commonly used methods defined by ObjectOutputStream:
| Method Name | Description |
|---|---|
| void close() | Closes the invoking stream with an IOException. |
| void flush() | Flushes the output buffers. |
| void write(int b) | Writes a single byte to the invoking stream. |
| void writeChar(int c) | Writes a char to the invoking stream. |
| void write(byte buffer[]) | Writes an array of byte to the invoking stream. |
| final void writeObject(Object o) | Writes an object to the invoking stream. |
| void writeBoolean(boolean b) | Writes a boolean to the invoking stream. |
| void write(byte buffer[], int offset, int numBytes) | Writes a subrange of numBytes bytes from the array buffer. |
- Pass Master CIW Enterprise Developer in first attampt.
- Best exam simulation SUN scbcd download free trial.
- Download practice question and study guide for scdjws for exam.
- Download free practice test for SUN SCJP exam.
- Click here to download scjp-5-0 test study guide and practice question.
- Pass SUN scmad - SCMAD
- Click here to download scwcd test study guide and practice question.
- Download free practice test for CX310-055 Java 5.0 exam.
- Become SUN SCJP 6.0 certified.
Like this article? Share it with others
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.