Question: Which of the following pieces of code performs explicit conversion? a . double bankBalance = 1 8 9 . 6 6 ; float weeklyBudget =

Which of the following pieces of code performs explicit conversion?
a.
double bankBalance =189.66;
float weeklyBudget =(float)(bankBalance /4);
b.
double bankBalance =189.66;
float weeklyBudget =(bankBalance /4)(float);
c.
double bankBalance =189.66;
float weeklyBudget =(double)(bankBalance /4);
d.
double bankBalance =189.66;
double weeklyBudget =(float)(bankBalance /4);

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!