preprocessor : Java Glossary


Java does not have an official preprocessor. You can alway use C/ C++’s, cpp. However, Java does guarantee to eliminate dead code inside an if like this:
static final boolean DEBUGGING = false;

   out.println( i );
The code inside the if still has to be valid. Unfortunately you can’t use the technique, for example, to select one of two different import statements.

This page is posted
on the web at:

Optional Replicator mirror
on local hard disk J:

Canadian Mind Products
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

Your face IP:[]
You are visitor number