I have in my program an object of a class. When I try to print it out I am getting "Address@33909752" - guessing it is a hash code. I also tried to override toString method, but still didnt help
Address address = new Address(city, country, houseNo, street, postCode);
Is there any way to print out the object correctly? I mean to display values?