I have built a class with an array of cinemas. Im trying to return the values in the array or print them out so i can see what they are called.
I've tried returning, system printing and a for each loop but it doesn't seem to be working. What is the simplest way to return values from an array?
thank you in advance
public ArrayList<Cinema> getCinemas(){
return cinemas;