ByteArrayOutputStream class common methods - Core Java -
Q. Which is commonly used method of ByteArrayOutputStream class?- Published on 10 Jul 15a. ByteArrayOutputStream()
b. ByteArrayOutputStream(int size)
c. public synchronized void writeTo(OutputStream out) throws IOException
d. Both A & B
ANSWER: public synchronized void writeTo(OutputStream out) throws IOException