Skip to content

Commit f0e4b68

Browse files
committed
Section 24 Java Generics
Signed-off-by: https://github.com/Someshdiwan <someshdiwan369@gmail.com>
1 parent 4395d33 commit f0e4b68

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Section23JavaIOStreams/src/PipedStreamExample.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ PipedOutputStream: This is used by the producer thread to write data.
1010
PipedInputStream: This is used by the consumer thread to read data.
1111
These two streams must be connected before data transfer can occur.
1212

13-
3. How it Works?
13+
3. How does it Work?
1414
The producer writes data into PipedOutputStream.
1515
The consumer reads data from PipedInputStream.
1616
The two streams work together like a pipe, transferring data from one thread to another.

0 commit comments

Comments
 (0)