
Why does it say my DATE class or method doesnt exist?
probably missing something silly but new to processing.

Why does it say my DATE class or method doesnt exist?
probably missing something silly but new to processing.
Welcome to the forum!
Nice to have you here -
To make a DATE you have to pass the parameters like
DATE myDate = new DATE ( 17,12, 2019);
the numbers of parameters must match
Convention
The Convention has it like this:
Please post your code as text not as image
Regards, Chrisir
You need to add an explicit default constructor and you need to change the last method to use the constructor like this
class Date {
int d;
int m;
int y;
Date() {
}
Date(int day, int month, int year) {
d = day;
m = month;
y = year;
println(d, m, y);
}
}
public void dates() {
new Date();
}