[Solved] How do I return/implement the toString for the ArrayList? Also, just want to check that I’ve correctly created my objects?
[ad_1] You have a lot of error in your code : First Don’t ever name your variables with Upper letter in beginning, java use camelCase Second Don’t declare your variable with private public in your method. private ArrayList<Object> List = new ArrayList<Object>(); Third You can’t declare a method inside another method you have to close … Read more