Computer Applications
What are the types of casting shown by the following examples?
double x = 15.2;
int y = (int) x;int x = 12;
long y = x;
What are the types of casting shown by the following examples?
double x = 15.2;
int y = (int) x;
int x = 12;
long y = x;