greptilian logo

IRC log for #friendlyjava, 2014-11-22

##friendlyjava on freenode

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
00:05 pdurbin I didn't
02:25 pdurbin joined ##friendlyjava
02:32 7GHAAMZBU joined ##friendlyjava
14:51 mr_lou joined ##friendlyjava
17:08 Sadly32 joined ##friendlyjava
17:08 Sadly32 Hello Everybody
17:09 Sadly32 I am looking for the way to be sure my teacher is gonna introduce an int if i ask her an int with nextInt()
17:09 Sadly32 I am sure she is gonna try to introduce "aosmasodasdqw" to see if I fix this problem
17:09 Sadly32 can you help me, please?
21:31 pdurbin aosmasodasdqw?
21:37 Sadly32 pdurbin i mean whatever String line "aosmasodasdqw" or "asdaeqwud axcasdqsfqs" or whatever
21:38 pdurbin you want to know if an int is an int?
22:03 Sadly32 pdurbin (with Scanner)
22:04 Sadly32 int a=sc.nextInt();
22:04 Sadly32 if i write "adsadqwdqw"
22:04 Sadly32 the program stop
22:04 Sadly32 so i want it doesn't stop
22:08 pdurbin Use Integer.parseInt() method to validate the integer input http://stackoverflow.com/questions/11643222/scanner-and-nextint-discard-integer
22:08 pdurbin a minute too late
22:08 pdurbin pulsar_: isn't that always the way

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

##friendlyjava on freenode