Java

Topic: I/O Streams

Explain method public void write(int b)           throws IOException buffered output stream.in java?

Writes the specified byte to this buffered output stream. 

Browse random answers:

What is the difference between RandomAccessFile and File?
How do I append to end of a file in Java?
How do I check for end-of-file when reading from a stream?
How do I copy a file?
What is a stream?
How can I open the same file for reading as well as writing?
How do I list all drives/filesystem roots on my system?
How to insert content into the middle of a file without overwriting the existing content?
What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?
What is the purpose of the File class?
What an I/O filter?
What class allows you to read objects directly from a stream?
How do I write text to a file?
How do I get the creation date and time of a file?
What is Serialization and deserialization?
How can I customize the seralization process? i.e. how can one have a control over the serialization process?
How to make a class or a bean serializable?
Explain BufferedInputStream(InputStream in) in java?
Explain BufferedInputStream(InputStream in, int size)  in java?
Explain available() metod in Bufferedinputstream in java?
Explain Close() method in BuffereInputStream in java?
Explain read(byte[] b, int off, int len)  in BuffredInputStream in java?
Explain  BufferedOutputStreampublic BufferedOutputStream(OutputStream out,                            int size)?
Explain method public void write(int b)           throws IOException buffered output stream.in java?
Explain method public void write(byte[] b,int off,int len)      of     BufferdOutStream in java?
Explain  method public BufferedOutputStream(OutputStream out,int size) in java?
How to make a file read only?