Question: What will be the output of the given code snippet? ( type casting ) public static void main ( String args [ ] ) {
What will be the output of the given code snippet? type casting
public static void mainString args
int i ;
float f f;
double d ;
f float i;
d double f;
i int d;
System.out.printlni i;
System.out.printlnf f;
System.out.printlnd d;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
