1

What will be the output of the following program?
class Operators1{
public static void main(String[] args){
int a = 34,b = 21,c,d,e,f,sum;
c = a++ + ++b;
d = –a + –b + c–;
e = a + +b + +c + d–;
f = -a + b– + -c – d++;
sum = a + b + c + d + e + f;
System.out.println(“sum = ” + sum);
}
}

  • sum = 265

  • sum = 263

  • sum = 264

  • Compilation Error