is it possible for One PipeInputStream to stream out to two PipeOutputStream? I am trying to get the third thread to from Pipe 2 to read the first thread from Pipe 1.
The class displayInfo is the...
Type: Posts; User: daitobu
is it possible for One PipeInputStream to stream out to two PipeOutputStream? I am trying to get the third thread to from Pipe 2 to read the first thread from Pipe 1.
The class displayInfo is the...
This is part of my teacher template, which he want us to use whatever he already had.
On the program below. The program run in infinite loop and asked the user for 3 variable forever. I tried to change the while loop to be for loop, but it end up error. How do i make it run once?...
remove request
thank you very much :).
The problem here is there not actually an assignment. He just gave everyone the skeleton of the program, and expect the result. So I don't know what really to do :(. Well if there a better way to...
This is what i came up with. It run but it doesn't say anything if it false.
public boolean increment() {
if (count < maxValue)
{
count++;
return true;
...
Hello my original attempted was to make increment method in the class. But my teacher want it to be in boolean instead of void
public void increment() {
if (count < maxValue)
...