1 Briefly explain ByteArrayInputStream and ByteArrayOutputStream. 2Briefly explain CharArrayReader and CharArrayWriter 3Explain serialization and Deserialization using Serializable interface. 4What is common and how do the following streams differ: InputStream, Reader? 5Create two threads and assign names ‘Scooby’ and ‘Shaggy’ to the two threads. Display both thread names.
ByteArrayInputStream and ByteArrayOutputStream;CharArrayReader and CharArrayWriter;serialization and Deserialization;InputStream, Reader;‘Scooby’ and ‘Shaggy’
Share
QUESTION:
Create two threads and assign names ‘Scooby’ and ‘Shaggy’
to the two threads.
Display both thread names.
DOWNLOAD ATTACHMENT FOR ANSWER:
DOWNLOAD ATTACHMENT FOR ANSWER: