Any system can be coded in just about any language. There are some restrictions using J2ME based on the platform for what is and is not available, but in most cases you should have access to the platform's functionality.
Try reading the
documentation[
^] to find out how to use methods.