InterviewSolution
| 1. |
Which You Feel Better To Use – Byte Streams Or Character Streams? |
|
Answer» I feel personally to go with character STREAMS as they are the latest. Many features EXIST in character streams that do not in byte streams like a) using BufferedReader in place of BufferedInputStream and DataInputStream (ONE stream for two) and b) using NEWLINE() method to go for next line and for this effect we must go for EXTRA coding in byte streams etc. I feel personally to go with character streams as they are the latest. Many features exist in character streams that do not in byte streams like a) using BufferedReader in place of BufferedInputStream and DataInputStream (one stream for two) and b) using newLine() method to go for next line and for this effect we must go for extra coding in byte streams etc. |
|