CoCo Java has a Bug

Because CodeCombat does not allow you to import, so there is no way I can use ArrayList to create an empty list. I have viewed other levels and saw that creating an empty bracket would solve the problem, which I did.
Now, it’s not even allowing me to add other Objects

P.S. the CoCo Java has a lot of bugs, first of all, it’s not even defining variables properly; second, most of the functions aren’t even from java, instead, they are a mixture of C++ and javascript; third, there are a lot of problems with classes and you cannot extend them or do anything else.

Okay I see, but isn’t push from javascript??


1 Like

@nick @Chaboi_3000 can you guys do something?

me no understand chinese

It’s just saying that add isn’t a function