Difference between Reader/Writer and InputStream/Output
Stream?
Answers were Sorted based on User's Feedback
Answer / janet
The Reader/Writer class is character-oriented and the
InputStream/OutputStream class is byte-oriented.
Is This Answer Correct ? | 167 Yes | 7 No |
Answer / ravikiran(aptech mumbai)
Reaer/writer belongs to the charecter stream
I/P and O/P belongs to the byte stream
Is This Answer Correct ? | 74 Yes | 15 No |
Answer / rohit rajput
reader/writer support only cahracter and input/output
stream support only bytes input stram and the java reader
class has only one differnce and that is input stream only
support bytes and the reader class only supports the
character.
Is This Answer Correct ? | 53 Yes | 8 No |
Answer / paletipatisrinu
These are IO streams but difference their
InputStream/OutputStreams class are byte-oriented
streams.this streams read and write in byte oriented.
InputStream/OutputStreams are never support unicode characters.
Reaer/writer class are belongs to the charecter stream
this streams read and write in character oriented Streams .
Reaer/writer are never supports unicode characters.
Is This Answer Correct ? | 40 Yes | 10 No |
Answer / geetha
The reader/writer is character oriented, and the
input/output stream is byte oriented.
Is This Answer Correct ? | 17 Yes | 2 No |
Answer / karan
The Reader/Writer class hierarchy is character-oriented, and
the Input Stream/Output Stream class hierarchy is byte-oriented.
Basically there are two types of streams.Byte streams that
are used to handle stream of bytes and character streams for
handling streams of characters.In byte streams input/output
streams are the abstract classes at the top of
hierarchy,while writer/reader are abstract classes at the
top of character streams hierarchy.
Is This Answer Correct ? | 12 Yes | 0 No |
Answer / karpagam
reader and writer is related to character, and input and
output is related to byte.
Is This Answer Correct ? | 12 Yes | 1 No |
Answer / ajaal kujaal
reader and writer belongs to cd drive where inputstream and
outputstream belongs to USB drive.
Is This Answer Correct ? | 13 Yes | 47 No |
What are data types in programming?
Which class should you use to obtain design information about an object in java programming?
What is the requirement of thread in java?
In the first round, there are 30 aptitude and 30 java questions. We are suppose to finish both the papers within 60 minutes. I cleared this round. Next was test for programming skills. In this section, Some 7 n's were asked. 1. What is the difference b/w sleep(1000) and wait(1000) 2. what is the diff b/w static block and static function? 3. Write a program to validate IP address using string tokenizer. 4. Write a program to create singleton class 5. write a function to reverse the string 6. Write a prog to print prime nos upto n. EX: If n=9, It shld print 1,2,3,5,7 7. One program on collections- Write a program to print no. of times a number is repeating in an array. EX- {1,3,1,2,5,7,3,7,34,3,8,3} It should print: 1- 2 times 3- 4 times and so on 7. Write a func to print fibonocci series After this I had technical interview, which went on for. 60 mins or so. There were qn's about multi threading, Exception handling and collection classes. Knowledge about collections was very important for the post I was interviewed for.
what is difference between throw and throws in exception?
Tell me the difference between an applet and a Japplet?
Write a program to find the whether a number is an Armstrong number or not?
Explain the pointers in Java?
What is the primary benefit of encapsulation?
Explain the init method?
What is anti pattern in programming?
How to invoke external process in java.