There is no var
Classes in Java start with a capital letter. Please do that as well. Did you maybe forget to select the language level in IntelliJ?
LMAO Java doesn't have var you have to explicitly tell compiler which data type you want to use such as int, double, char, etc...
Обсуждают сегодня