Which of these performs explicit type casting?

Last Updated :
Discuss
Comments

Which of these performs explicit type casting?

int z = (int) 5.9;

double y = 3;

int x = 5.0;

float f = 5;


Share your thoughts in the comments