Ok, another question with scanner though. Does in.next() regardless of how it is used always return the token and move to the next token?
ie: if (in.next().equalsIgnoreCase("example"));...
Type: Posts; User: MikeTySUN
Ok, another question with scanner though. Does in.next() regardless of how it is used always return the token and move to the next token?
ie: if (in.next().equalsIgnoreCase("example"));...
Thanks for the help so far. I just had a quick question about scanner. Will a scanner read a single character from a txt file as a String or a char?
I will be using this program to read several text files. All these should be read in and stored in memory. When storing all this in local memory I need to be updating similar items from separate txt...
We are specifically told NOT to use any of the collection libraries, so an array is out of the question. Yes, there are specific datatypes. the name column will ONLY hold strings, the cost ONLY...
Here is what I am dealing with:
Name Cost Location Expense Amount <------- at the top of each text file are these column headers
String ...