In Java, SequenceInputStream class is used for reading data from
multiple stream or files.
For example, we have created two different files and taken
two strings for writing one after another of these files with the help of FileOutputStream
class. Then we created a one object of SequenceInputStream class for reading existing
file and we have write to another file of those contents.
If we need
to read the data from more than two files We need to have these
information in the Enumeration object. Enumeration object can be get by calling
elements method of the Vector class. Now, we are reading the data from the 4