1.

Which of these is a type of stream in Java?(a) Integer stream(b) Short stream(c) Byte stream(d) Long streamThis question was posed to me during an interview for a job.Origin of the question is Input & Output Basics topic in section I/O & Applets of Java

Answer» RIGHT choice is (c) Byte stream

To explain I would SAY: JAVA defines only TWO types of STREAMS – Byte stream and character stream.


Discussion

No Comment Found

Related InterviewSolutions