Perform the following:
Assign the value of pie (3.142) to a variable with the requisite data type.
78 Likes
double pi = 3.142;
Answered By
52 Likes
What are the rules to assign a variable in a Java programming?
Explain the term type casting.
Assign the value of (1.732) to a variable with the requisite data type.
Distinguish between Integer and float Constant.