parsing file with scanner...
guys, how could I parse a file that contains answers and questions in the form of:
Which of the following types are supertypes of Rectangle?
Select all that apply:
my intent is to separate the question from the answer and put them both in an array that takes in question, answers, but I'm used to work with BufferedReader instead of Scanner which is the case here.... this is what I have so far, but is not doing the job
Once you have the line of answers, you could set up a loop to go over each character in that String.
thanks finally got it working... did something like this
|All times are GMT +1. The time now is 01:04 AM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.