Hi all,
Here we have another one of those ...
public class TestClass
{
public static void main(String[] args) throws Exception
{
int a = Integer.MIN_VALUE;
int b = -a; // line 6
System.out.println( a+ " "+b);
}
}
here the o/p is the same no: twice
even if we change the -a to a the o/p is same
has the "-" stopped affecting the value
Do reply soon
thanx a bunch
Sonu