Search:

Type: Posts; User: daitobu

Search: Search took 0.38 seconds.

  1. Replies
    1
    Views
    2,086

    PipeInputStream & PipeOutputStream

    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...
  2. Replies
    3
    Views
    1,280

    Re: Read 3 Variable, and DONE.

    This is part of my teacher template, which he want us to use whatever he already had.
  3. Replies
    3
    Views
    1,280

    Read 3 Variable, and DONE.

    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?...
  4. Replies
    1
    Views
    1,266

    check for boolean method.

    remove request
  5. Replies
    6
    Views
    1,497

    Re: boolean for increment method

    thank you very much :).
  6. Replies
    6
    Views
    1,497

    Re: boolean for increment method

    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...
  7. Replies
    6
    Views
    1,497

    Re: boolean for increment method

    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;
    ...
  8. Replies
    6
    Views
    1,497

    boolean for increment method

    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)
    ...
Results 1 to 8 of 8