I have to make quiz in java, it must scan txt file where is answers and I dont know do it? Can anybody help me?
Quiz From Java
Page 1 of 12 Replies - 163 Views - Last Post: 20 September 2012 - 03:31 PM
Replies To: Quiz From Java
#2
Re: Quiz From Java
Posted 20 September 2012 - 03:08 PM
We certainly can help but we won't do it for you. Show us what you already have and point to the bit you are stuck with. If you have never read from a file before, you can do it with a Scanner which makes it similar to reading input from the console.
#3
Re: Quiz From Java
Posted 20 September 2012 - 03:31 PM
Take a look at the Scanner class at http://docs.oracle.c...ase/6/docs/api/
It's pretty simple to use.
A simple search on Google brought this result: Scanning text on java.util.Scanner
It's pretty simple to use.
A simple search on Google brought this result: Scanning text on java.util.Scanner
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote




|