For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!
How do I read these inputs in Scanner class ? Input : 12 15 18 // 3 integers input in one line
my doubt here is, should I use nextInt() 3 times Or should I use nextLine() to read the entire line and tokenize to get these three integers?