Internals of Stream in Java
Why do we need Stream? As we know that Stream is a sequence of data. So we need need this Stream to access data so that we could do I/O operation on that data. Below are some reasons which will tell us why do we need stream. 1)In order to perform input/output operation ,we need Stream. 2)Without Stream ,we cannot perform input/output operation. 3)To save your output and input in the hard-disk permanently,we need Stream. Example ======= Banking Application(Before came to the concept of database, developer used STREAM for developed bank application or etc).