there can be X number of lines that I want to read into strings
That sounds like you need to use a collection like an ArrayList to contain the Strings. It can hold X number of items.
method to dynamically create strings to hold this information.
Not sure what you mean by "dynamically create strings". You seem to be asking how to create new variable names when a program executes. Variable names are created when a file is editted. Using a collection will give you a "new name" for a variable that includes the collection name plus the value of the index into the collection: collection.get(0) is the "name" for the first item in the collection,
collection.get(1) is the name for the second item, etc
Instead of having parallel collections, create an object that contains the question and its answer and put those new objects into the collection.