preprocessor : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

preprocessor
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;

if ( DEBUGGING )
   {
   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:

http://mindprod.com/jgloss/preprocessor.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\preprocessor.html
logo
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.

IP:[65.110.21.43]
Your face IP:[54.158.119.60]
You are visitor number