How to create a new class in AE using User Defined Java Class step?

I’m trying to create a new class in AE, these are the steps I’ve done, but it’s not working:

I’m simply instantiating the class I just created and it’s giving me errors:

Generating the main

Creating the Animal class

I added this line in Processor

I’m getting this error

Any suggestions to fix this error?

@AE_Knights Please do look into it.