Thansk Norm I got it fixed.
like you said we just need scanner have the addres, so we initialize .
scanner= new Scanner(System.in);
Type: Posts; User: Syahdeini
Thansk Norm I got it fixed.
like you said we just need scanner have the addres, so we initialize .
scanner= new Scanner(System.in);
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...
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...
I see..
this is a statement at line 41
umur = scanner.nextInt()
thanks :)
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...
Hi :D
I know it's umur, so what should I do? assign the value of var umur before I scan it?
Thanks
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"...
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...