Type
Casting:
The process of converting value of
one Datatype to another Datatype. Two ways of Casting:
Widening: Converting a smaller datatype to higher datatype
is called widening.
byte-> short -> char -> int
-> long -> float -> double
widening happens automatically and it
is safe operation. We also call widening as implicit casting.
...