Computer Applications
Determine the data type of the expression
If p is an int, r is a float, q is a long and s is double.
Values & Data Types Java
9 Likes
Answer
The result of the given expression will be double type.
Explanation
Answered By
5 Likes
Related Questions
What will be the resultant type of the following expression if bh represents a byte variable, i is an int variable, fl is a float variable and db is a double variable ?
bh - i + db / fl - i * fl + db / iWhat will be the resultant type of the following expression if fl is a float variable and db is a double variable?
(int) (fl + db)Determine the data type of the expression
if x is int, y is long, w is float, z is double, p is short and q is long double.
State the value and type of each expression.
Math.abs(-5) - Math.abs(-7)