#help with ap comp sci problem
15 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @bronze bluff! Please use
/closeor theClose Postbutton above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
well yes. you can use a scanner for as many inputs as you'd like
How?
Scanner input = new Scanner(Sytem.in)
String str1 = input.nextLine();
String str2 = input.nextLine();
Oh ok
you can use the scanner object you've created as many times as you'd like
That worked thanks
If you are finished with your post, please close it.
If you are not, please ignore this message.
Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.