I created a project similar to what you are talking about. ArrayList works good for it, but you will want to create a class for the questions and answers. Creating a class and passing it to the...
Type: Posts; User: Skywola
I created a project similar to what you are talking about. ArrayList works good for it, but you will want to create a class for the questions and answers. Creating a class and passing it to the...
You say "Okay im trying to get when a user inputs a question the java program will output a pre written answer."
Are you only expecting one question?
Also . . . change
username =...