i want to make a quiz game in java so tht the question come randomly and the answer get validated whn the user select the option...plz help me....
Java.util.Random and a long list of questions with the answers.
Yes use a vector of question and answers.
I found these resources for you, hope this is what you want.
How can you make a QUIZ in Java by using "Buffered Reader"?
Regardless of the fact that the thread is well over a year dead, I doubt the OP's ability to use the resources, considering the OP's ability with Google.
He is the Quiz Master SunnyY!
The guy re-opened most of threads in regards of quizzes, missing the point that all of them are student assignments and not real industrial project and therefore people are expect to hard code it and not to use ready made tools...