Java Streams   «Prev  Next»

Writing Java Bytes - Exercise

Write a program that reads data from System.in into a byte array buffer, then copies the data onto System.out. Try to read and write data in chunks of at least 128 bytes. Do not just copy one byte at a time. Paste the source code below and click the Submit button when you are ready to submit this exercise.