Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

#IFDEF and #DEFINE equivalaents in java

807580Feb 28 2010 — edited Mar 1 2010
hi,

may be this question answered by people who came to java from c/c++.
in c/c++, there were #DEFINE and #IFDEF that we can use not to include or discard code in the executable.
are there any similar functionality in java.

Madhu_1980
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 29 2010
Added on Feb 28 2010
27 comments
568 views