Possible Duplicate:
How to mark java code such that it’s not compiled
In c, we can prevent compilation of block code like this :
#if 0
//code here
#endif
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.
Can anyone help me ?
You have to comment out the code, you can’t use pre-processor directive in java.