How to solve error: "Error in void"?

//Google chrome dinosaurio

Dinosaurio d1 = new Dinosaurio

void setup(){ //void setup its an error says.
size(1080, 720);
}

void draw() {
background(255);

d1.display();
}

It says: “Error in void”, i am in java and i am new in code please help me

Hello @nicoos :slightly_smiling_face:

Try:
Dinosaurio d1 = new Dinosaurio();

:nerd_face:

3 Likes