Java Programming Tutorials - 5
Java automatically promotes each byte, short, or char operand to int when evaluating an expression. If one of the operands is long, float or double the whole expression is promoted to long, float or double respectively.
The following are the youtube links to my other vodeos in java
• Java programming tutorials 4 on Arrays
• Java Programming Tutorials 3
• Java Programming Tutorial 2 static ...
• type conversion in java