I always get the following output, when I try to get an output from an Array:
test1.Buch@5ef4b65d
Could someone please tell me what I did wrong?
Buch[] buch = new Buch[30];
for(int i = 1; i < buch.length; i++) {
buch[i] = new Buch();
char reply;
Scanner in = new Scanner(System.in);
// input data into the Array
//.....
System.out.println(buch[i]);