Widening or Automatic Type Transform
Widening transform takes place when two data types are automatically converted. This happens
when:
1. The two data types are peaceful.
2. When we assign value of a smaller data type to a bigger data type.
in java the numeric data types are peaceful with each other but no automatic transform is accepted
from numeric type to char or boolean. Also, char and boolean are not peaceful with
each other.