I am trying to read-in a string in Java. In C++ this function is 'cin". It basically prompts the user to input information.
The spot I would like to store this is in a method called "add(E element)" where it stores the string. how would I bring up the prompt so the user types in a string to store the info to the method?