answersLogoWhite

0

IO streams are usually binary output or input of a file. It is particularly useful to store information in small files. It also allows Serializable objects to be written on the files. But it is usually not a good choice to store Strings or numbers in a stream since it is hard to read from a stream and convert back to the original data type.

User Avatar

Wiki User

17y ago

What else can I help you with?

Continue Learning about Engineering

How do the IO facilities in C plus plus differ from those in C?

The C standard library IO facilities are not extensible. For instance, the printf() and scanf() functions cannot handle user-defined types. However, the C++ standard library provides IO streams with insertion and extraction operators (<< and >>) that can be overloaded to support any user-defined type.


What is the use of BufferedReader in Java programming?

The BufferedReader class provides buffering to your Reader's. Buffering can speed up IO quite a bit. Rather than read one character at a time from the network or disk, you read a larger block at a time. This is typically much faster, especially for disk access and larger data amounts. The main difference between BufferedReader and BufferedInputStream is that Reader's work on characters (text), wheres InputStream's works on raw bytes. To add buffering to your Reader's simply wrap them in a BufferedReader. Here is how that looks: Reader input = new BufferedReader( new FileReader("c:\\data\\input-file.txt"));


Does Visual Java plus plus and Java Builder is different from the Java language?

Yes!Visual Java plus plus and Java Builder is different from the Java language?


What are the different java technologies?

There are several types of Java technology. Some examples of Java software are Java ME, Java EE, Java SE, and Java Card. Java made the JAVA development kit for those that develop in Java. There is also Java Virtual machine and some class libraries. Java is also famous for its languages like Clojure, Beanshell, Groovy, Gosu, Rhino, Kotlin, JRuby, Scala, and Jython.


Small Java-based programs are called?

Java applets

Related Questions

What is FileReader?

In java FileReader is a class which is meant for reading streams of characters.


A package in java that contains a collection of classes that allow you to read and write to streams?

java.io


What is the use of io package?

The io package in Python provides tools for working with input and output operations, such as reading and writing files, streams, and data. It includes functions and classes like open() for file I/O operations, BytesIO and StringIO for in-memory I/O operations, and TextIOWrapper for text I/O handling. This package is essential for managing data streams and file operations in Python programs.


How do the IO facilities in C plus plus differ from those in C?

The C standard library IO facilities are not extensible. For instance, the printf() and scanf() functions cannot handle user-defined types. However, the C++ standard library provides IO streams with insertion and extraction operators (<< and >>) that can be overloaded to support any user-defined type.


What are uses of FileInputStream and FileOutputSteam?

FileInputStream and FileOutputStream are useful for writing to and reading from files in Java. The streams can be passed to any method that requires an InputStream or OutputStream, respectively.


What is IO mapped?

Peripheral-Mapped IO is IO that is selected when the IO/M- line is high.


What does io mean in English?

If you are referring to the Italian word 'Io' which can be used in the sentence 'Io Sono', Io means I. Io sono means I am.


What is Peripheral-Mapped IO?

Peripheral-Mapped IO is IO that is selected when the IO/M- line is high.


Differentiate between memory mapped IO and IO mapped IO?

Memory mapped IO is one where the processor and the IO device share the same memory location(memory) while IO mapped IO is one where the processor and the IO device have different memory located to each other.


What moon is named io?

The moon Io.


The maximum number of Io devices can be interfaced with 8085 in the Io mapped Io technique?

3


What is the birth name of Io Bottoms?

Io Bottoms's birth name is Io Cecilia Bottoms.