Search:

Type: Posts; User: Syahdeini

Search: Search took 0.19 seconds.

  1. Replies
    8
    Views
    509

    Re: Scanner Problem

    Thansk Norm I got it fixed.
    like you said we just need scanner have the addres, so we initialize .
    scanner= new Scanner(System.in);
  2. Replies
    8
    Views
    509

    Re: Scanner Problem

    ohh,, scanner is an object on that line and scanner doesn't have any value before.
    so scanner have NULL value and umur take NULL value from it right?
    so how should I do for solve it, I mean I want...
  3. Replies
    3
    Views
    467

    Re: throwing Exception

    haha, sorry Norm, I'm new here..

    Here there are

    I wonder In this defined Exception constructor, there's no throws IllegalArgumentException on the header of class,
    you can see that that...
  4. Replies
    8
    Views
    509

    Re: Scanner Problem

    I see..
    this is a statement at line 41

    umur = scanner.nextInt()


    thanks :)
  5. Replies
    3
    Views
    467

    throwing Exception

    Hi guys.
    I have two simple question for you, this is about programmer defined exception. (this source code come from thomas wu book, OOP introduction),

    firstly,
    is it okay for not write throws...
  6. Replies
    8
    Views
    509

    Re: Scanner Problem

    Hi :D

    I know it's umur, so what should I do? assign the value of var umur before I scan it?

    Thanks
  7. Replies
    8
    Views
    509

    Scanner Problem

    Hello guys,

    I wrote a code from thomas wu book (OOP java, 5 edition).
    But I got an error in scanner statement like this


    debug:
    Your Age :
    Exception in thread "main"...
  8. Replies
    1
    Views
    1,216

    tips for beginner programmer

    Hi guys.
    I'm beginner programmer who to become real programmer,and btw I'm CS student
    I have read an introduction of OOP by thomas wuu. it's really good book (but I've lost this book).
    but when I...
Results 1 to 8 of 8