title: #if in java, like in c preprocessors
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/8293124/how-to-mark-java-code-such-that-its-not-compiled">How to mark java code such that it’s not compiled</a>  </p>
  </blockquote>
  
  
  
  <p>In <a href="/questions/tagged/c" class="post-tag" title="show questions tagged &#39;c&#39;" rel="tag">c</a>, we can prevent compilation of block code like this :</p>
  
  <pre><code>#if 0
  
      //code here
  
  #endif
  </code></pre>
  
  <p>So even if code block is error prone the code compiles, I want the same thing in Java, So that I can skip that part of code which won't compile because some library is missing.</p>
  
  <p>Can anyone help me ?</p>