1.

What Is The Necessity Of Two Types Of Streams – Byte Streams And Character Streams?

Answer»

Byte streams were introduced with JDK 1.0 and operate on the FILES CONTAINING ASCII characters. We know Java supports other language characters ALSO known as UNICODE characters. To read the files containing Unicode characters, the designers introduced character streams with JDK 1.1. As ASCII is a subset of Unicode, for the files of English characters, we can go with either byte streams or character streams.

Byte streams were introduced with JDK 1.0 and operate on the files containing ASCII characters. We know Java supports other language characters also known as Unicode characters. To read the files containing Unicode characters, the designers introduced character streams with JDK 1.1. As ASCII is a subset of Unicode, for the files of English characters, we can go with either byte streams or character streams.



Discussion

No Comment Found