You are viewing a single comment's thread. Return to all comments →
I know String s1=sc.next(); was already written in the code, but can we use nextLine() instead of next() ?
Seems like cookies are disabled on this browser, please enable them to open this website
Java Output Formatting
You are viewing a single comment's thread. Return to all comments →
I know String s1=sc.next(); was already written in the code, but can we use nextLine() instead of next() ?