Timeline for Cannot find symbol hasNextInt for a java.util.Scanner
Current License: CC BY-SA 4.0
Post Revisions
38 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 3, 2021 at 22:09 | history | edited | Peter Mortensen | CC BY-SA 4.0 |
Active reading.
|
| Jun 20, 2020 at 9:12 | history | edited | CommunityBot |
Commonmark migration
|
|
| Apr 20, 2015 at 5:33 | comment | added | Ungeheuer | @RossC see above if you want. | |
| Apr 20, 2015 at 5:32 | comment | added | Ungeheuer | @Dariusz or perhaps the massive amounts of answers are a sign that the SO community is willing to help everyone and anyone out. It can be frustrating to come across an error when you first start programming and cannot figure it out. Perhaps instead of criticizing the community for these actions, you should praise its willingness to help out fellow coders, amateurs and professionals alike. | |
| Mar 8, 2014 at 19:40 | review | Close votes | |||
| Mar 25, 2014 at 9:01 | |||||
| Sep 18, 2013 at 21:12 | review | Close votes | |||
| Feb 27, 2014 at 12:38 | |||||
| Sep 18, 2013 at 15:29 | history | reopened |
Marcelo Tushar Gupta - curioustushar Bridge JDB Martin Smith |
||
| Sep 18, 2013 at 14:37 | review | Reopen votes | |||
| Sep 18, 2013 at 14:48 | |||||
| Sep 16, 2013 at 12:19 | history | closed |
CommunityBot Bobby Wooble tckmn devnull |
Not suitable for this site | |
| Sep 16, 2013 at 10:51 | comment | added | RossC | @Dariusz I didn't look on it like that, and I take your point on board. I guess I'm weary from the usual 'write me an app that makes me a million dollars as I'm too lazy to bother' type posts that are spreading lately. The reputation hunt is out of control for sure, and I even find myself having to hold back from certain posts as they are for the wrong reason, and may not be that helpful. It's a double edged sword for sure. | |
| Sep 16, 2013 at 10:47 | comment | added | Dariusz | @RossC I disagree. While this question is properly written and has all technical elements of a good question, it is a trivial mistake which should IMO be closed within seconds with a single comment explaining the error (like Stefan Beike's). 10 answers on this question only show how StackOverflow is a blind reputation hunt for some people. | |
| Sep 16, 2013 at 10:29 | review | Close votes | |||
| Sep 16, 2013 at 12:19 | |||||
| Sep 16, 2013 at 9:09 | history | edited | Bart | CC BY-SA 3.0 |
deleted 15 characters in body; edited title; Post Made Community Wiki
|
| Sep 12, 2013 at 5:03 | audit | First posts | |||
| Sep 12, 2013 at 5:03 | |||||
| Sep 11, 2013 at 5:56 | answer | added | Syed Mohd Mohsin Akhtar | timeline score: 0 | |
| S Sep 10, 2013 at 19:58 | history | suggested | stealthjong | CC BY-SA 3.0 |
improved code markup
|
| Sep 10, 2013 at 19:29 | review | Suggested edits | |||
| S Sep 10, 2013 at 19:58 | |||||
| Sep 10, 2013 at 16:57 | comment | added | wtsang02 | Another point to add, try to think of a more constructive title post. | |
| Sep 10, 2013 at 16:53 | comment | added | MirroredFate |
When you say "new", for instance new Car(), it's like acquiring a car. However, to use that car you still need the keys. That's what the variable assignment before the '=' is for. So saying Volvo myCar = new Volvo() gets you a new car, and says that myCar is the key to that Volvo. You can then use myCar to access the various things that car can do. Your variable s is the key to the string you are using. In this case, you just need a key to access what your new Scannner() can do (hence the myScanner in TanisDLJ's answer).
|
|
| Sep 10, 2013 at 13:37 | answer | added | Siddh | timeline score: 4 | |
| Sep 10, 2013 at 13:34 | comment | added | RossC | Eager to learn, and showed the code and the error. Definitely adding an upvote for that alone. If everyone did this in S.O. it'd be so much better. Can't add an answer as there's good ones below! Just a small point to the author: have a look at the javadocs for Scanner and String etc, it's a lot to take in but they get easier and can be a A BIG help going forward. Good luck with your programming :) | |
| Sep 10, 2013 at 13:32 | review | First posts | |||
| Sep 10, 2013 at 13:34 | |||||
| Sep 10, 2013 at 13:25 | answer | added | javawocky | timeline score: -3 | |
| Sep 10, 2013 at 13:20 | answer | added | Ravindra Gullapalli | timeline score: 0 | |
| Sep 10, 2013 at 13:19 | answer | added | cmd | timeline score: 1 | |
| Sep 10, 2013 at 13:19 | comment | added | Stefan | @StefanBeike no need to add so many !!! ;-) Though you are completely right - be polite (what a rhyme haha :) | |
| Sep 10, 2013 at 13:18 | answer | added | Stefan | timeline score: 3 | |
| Sep 10, 2013 at 13:18 | history | edited | default locale | CC BY-SA 3.0 |
Code formatting
|
| Sep 10, 2013 at 13:18 | answer | added | Jean Logeart | timeline score: 5 | |
| Sep 10, 2013 at 13:17 | answer | added | TanisDLJ | timeline score: 58 | |
| Sep 10, 2013 at 13:17 | comment | added | nano_nano | hasNextInt is not part of String!!! | |
| Sep 10, 2013 at 13:17 | answer | added | arshajii | timeline score: 17 | |
| Sep 10, 2013 at 13:17 | answer | added | Prabhaker A | timeline score: 4 | |
| Sep 10, 2013 at 13:16 | history | edited | M Abbas | CC BY-SA 3.0 |
added 64 characters in body
|
| Sep 10, 2013 at 13:16 | history | edited | Ankur Lathi | CC BY-SA 3.0 |
added 64 characters in body
|
| S Sep 10, 2013 at 13:16 | history | suggested | Math | CC BY-SA 3.0 |
edited formatting
|
| Sep 10, 2013 at 13:16 | review | Suggested edits | |||
| S Sep 10, 2013 at 13:16 | |||||
| Sep 10, 2013 at 13:14 | history | asked | Miles Roberts | CC BY-SA 3.0 |