JavaDeploy
SiteMap
Readers Writers
Java Streams
Java Programming
Java Language
Java Streams
«Prev
Next»
Java Streams
Stream Basics
Stream Input Definition
Roller Coaster Analogy
Input Streaming Data
System in-out
Additional Sources for I/O Streams
Java Stream Classes
I/O Stream Conclusion
Data Stream Reading
Reading Data from Streams
Efficient byte array Buffer
Counting available Bytes
Closing Stream Data
Writing Data Streams
Writing Data to Stream
Java Write Method
Java System.out
Java Write Byte
Java IO Flush
Java File Streams
Using Filestream
Character Mode DumpsFile
WritingData OutputStreams Conclusion
Filtering Streams
Chaining Streams
Marking Resetting Java Streams
Marking resetting Methods
Treating Arrays as Streams
Streaming Data between Threads
Java Byte Array Buffer - Exercise
Using Java byte array
Use a byte array buffer, an InputStream, and the System.out.println() method to write a more efficient program that copies data from System.in to System.out.
Paste the source code of your program below and click the
Submit
button when you are ready to submit this exercise.