> i am doing a project to find maximum or minimum..
> i want to define conditional oprators like
>
> #define condition <
> or
> #define condition >
>
> if(a condition b) {}
> likewise......
>
> so can't use final declaration....
Ah. What types are 'a' and 'b'? Why can't you just use the native < and > operators, or are you planning to overload them? Can't be done in Java
I was going to suggest using a different application to do the preprocessing (including if you like C++ with the correct arguments).
But after reading the thread I have no idea what you are actually after, maybe if you describe what you are attempting to do and why we can suggest the correct approach?