Kann mir bitte jemand sagen was ich falsch mache?
package de.codegym.task.task04.task0407;
/*
Katzen im Universum
*/
public class Solution {
public static void main(String[] args) {
Katze katze1 = new Katze();
katze1.anzahl = +1;
Katze katze2 = new Katze();
katze2.anzahl = katze1.anzahl +1;
Katze.anzahl = katze1.anzahl + katze2.anzahl;
System.out.println("Die Anzahl der Katzen beträgt " + Katze.anzahl);
}
public static class Katze {
public static int anzahl = 0;
}
}