I've got these two files:
public class Uebungsblatt {
    public int nummerBlatt;
    public int maxPunkte;
    public int realPunkte;
    public Uebungsblatt(int nummerBlatt, int maxPunkte, int realPunkte) {
        this.nummerBlatt = nummerBlatt;
        this.maxPunkte = maxPunkte;
        this.realPunkte = realPunkte;
    }
}
and
public class Rechner {
    public static void main(String[] args) {
        int random = (int) (Math.random() * 61;
        for(int i = 1; i <= 13; i++){
            Uebungsblatt a = new Uebungsblatt(i, 60, random);
            System.out.println(a);
        }
    }
}
And now I want to print the instance "Uebungsblatt" thirtheen times. But I am not sure how to do it. I thought about a for-loop but this wont work really, I always get something like "Uebungsblatt@42a57993". I saw a tutorial online where they used "string.format" but this wont work either.
 
     
     
    