Don't be afraid to google your problem. This is the second result for googling "Java Scanner": Scanning (The Java™ Tutorials > Essential Classes > Basic I/O)
Type: Posts; User: KevinWorkman
Don't be afraid to google your problem. This is the second result for googling "Java Scanner": Scanning (The Java™ Tutorials > Essential Classes > Basic I/O)
You have a do while, so it's going to print out at least once. It prints out, then it reads in a single byte, which is a. Notice how after you pushed a, you also pressed enter (the newline...