I am lost on how to create the toString
Are you familiar with the toString method? Take a look at the Object class
, which every class inherits from, which has a toString method, that every class can override to return a customized String.
To quote KevinWorkman's article
, which I recommend reading:
Don’t: Blame the teacher. Plenty of people learn on their own without the benefit of a teacher, classmates, or a classroom. Saying things like “my teacher never explained this!” is just a waste of time. The answer is out there- find it