I'm doing an assignment that implements the following interface
public interface MyStackInterface {
public Character pop();
public void push (Character c);
public boolean isEmpty();
public void clear ();
}
The objective is to properly arrange parenthesis, brackets, and braces. I was wondering should I use a data file or try to hard code them into the program. And if I should use a text file, I'm asking about some ideas on the scanner interface that is used to do this..