Abstract Classes and ArrayLists.
I am working with Abstract Classes that have Arraylist, i have created a User Class, Administrator Class and An Instructor class, so i have a users.Arraylist and a requests arraylist, i also have a courses arraylist which is in the instructor class, i have read in a login.txt file, and and add a login, pass, and id to the arraylist, eg: jsmith(login) | abc123(password) | instructor(id) | cosc1020 : cosc1245.
And then i add the coursecodes to the arraylist of courses.
now i am having trouble returning the course arraylist of type string, my output looks like this:
[| cosc1020, cosc1245]
can you help me to output just the codes without the  and |