hi i was doing some work for my project in a gui and i wanted to print out the information in my arraylist but when i do print out the object all i get is Customer@197d257
i have used the follwing code to print it out of my iterator
System.out.print("contents of customer: ");
Iterator<Customer> cus = customerlist.iterator();
while (cus.hasNext()) {
Customer element = cus.next();
System.out.print(element + " ");
} System.out.println();
i did want it to print out the customers name,address and number. any help will be much apperciated thanks