Fix Syntax Error: BackendlessCollection

Hi I came to this question (Click Here to see the Question) and it is 'n similar question/problem I encountered to do in my project. Mark Pillar gave (This Website). I have Copied and Pasted the code to see if the syntax is correct, since I could not solve it in the past. It still gives a syntax error. (See Photo).
Please help to solve it? (Only the BackendlessCollection syntax error)

And if I give this code. My app bombs out, even though I have it in a try block. (See Code Below)

Backendless.Persistence.of( BackendlessUser.class ).find( new AsyncCallback<List<BackendlessUser>>()
//At the above line the code bombs out
{
@Override
public void handleResponse( List<BackendlessUser> users )
{

}

@Override
public void handleFault( BackendlessFault backendlessFault )
{

}
} );

Hi Rhonwen
Are you using version 3 or 4 of Backendless?

Best Regards

Rhowen, what version of Backendless are you using - 3 or 4?

Best regards

The reason for why I’m asking is that BackendlessCollection has been eliminated completely in v4. Here are the docs. Migration from 3.x to 4.x > Version differences > Retrieval of data collections

Best regards

Hi I am using 4.2.0 Ok that makes sense…