Search:

Type: Posts; User: shimazaky

Search: Search took 0.24 seconds.

  1. Replies
    11
    Views
    1,144

    Re: What is wrong with my I/O code?

    Ok, guys. I figured it out, thank you.

    The trick was to put the last print statement inside the try block and the code works nicely, so i can finish the application.
  2. Replies
    11
    Views
    1,144

    Re: What is wrong with my I/O code?

    [QUOTE=syedbhai;120594]Hello.
    You have initialized the variable in the try block. There is a possibility that exception could occur in the try block. Of course, in your case it is not. But for...
  3. Replies
    11
    Views
    1,144

    Re: What is wrong with my I/O code?

    So, what you are saying is that since i have not initialized the userNum, i must handle and exception for readline() method? How do i do that?
  4. Replies
    11
    Views
    1,144

    What is wrong with my I/O code?

    Hello friends;

    It is Joe here again with :o; just finished my first chapter but got stuck on one of my challenges. I am not using any IDE i am using command line, and the compiler returns an...
  5. Hi, thank you for creating this community.

    Hi guys;

    My name is Joe and i would like to greed all fellow programmers. I am new to Java and I am fascinated by the language.

    I hope this forum will be very helpful to my Java journey.
    ...
Results 1 to 5 of 5