Hello @kmll,
I get an error with your class in a tab or in the main tab with Processing 4.1.3
Error:
No Error:
This works with the class in the tab or in the main tab:
void setup()
{
Test t1 = new Test(); // Here for testing.
t1.fname = "Per";
}
Resources here to explore:
There is a reference for class and Object with examples.
There is a tutorial for Objects.
:)

