This is crazy, I am trying to add 2 shorts together and I get an int!
Code:
      short a = 1;
      short b = 2;
      short c;
      c = a + b;
Why do I have to cast to a short when all the variables are already shorts?
Code:
c = (short) (a + b);
Is there any rationale behind this?