当我尝试从数组中获取输出时,我总是得到以下输出:
test1.Buch@5ef4b65d
有人可以告诉我我做错了什么吗?
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]);