ADDITIONAL SYSTEM INFORMATION :
windows 10 ,java 8
A DESCRIPTION OF THE PROBLEM :
public static void main(String s[]){
int value=3;
value = ++value + value++;
System.out.println(value);
}
getting an output as 8 where as c gives an output as 9. why? According to concept it should be 9.
REGRESSION : Last worked in version 8u192
FREQUENCY : always
windows 10 ,java 8
A DESCRIPTION OF THE PROBLEM :
public static void main(String s[]){
int value=3;
value = ++value + value++;
System.out.println(value);
}
getting an output as 8 where as c gives an output as 9. why? According to concept it should be 9.
REGRESSION : Last worked in version 8u192
FREQUENCY : always