Example source code used in the documentation is also provided in example code .java files. Generally, you should compile and run example code first.