Explain Explicit type conversion with examples.
Hacket:
Okkk
Answers
Answered by
13
In explicit type conversion bigger data type is converted to smaller data type.
Explicit type conversion is done by user with the help of type cast operator.
Example-
int x=30;
byte y=(byte)x;
Here int type is converted to byte type
Answered by
0
Answer:
explicit type conversion bigger data type is converted to smaller data type. explicit type conversion is done by user with the help of type cast operator .example:
int X=30
byte y= ( byte) X;
Similar questions