J2ME Programming/Statements

From Wikibooks, open books for an open world
Jump to navigation Jump to search

In J2ME (or JavaME), all methods and statements are wrapped in classes. As it is written in Java, unlike C++, only one pointer operator ('.') is used. So, all references are written as follows:

 System.out.println("Hello World!");