Hum.. I don't really see the resemblence with JAVA to be quite honest, but that might be just me.
What I suggest you to do is to have a look at the Official Docs, everything from events to objects, functions and methods are all in there.. So you shouldn't have a big problem starting up.
Here's the link to the doc :
http://www.msgpluslive.net/scripts/view/13-Offici...ing-Documentation/