Saved Bookmarks
| 1. |
Predict the return data types of the following:( i ) int p; double q; r = p+q; system. out . printIn ( r );( ii ) float m p = m/3* ( Math . paw (4,3)); system.out . printIn ( p ) |
|
Answer» <P>Explanation: FLOAT m; p=m*1.0/3*(Math.pow(4,3)); System.out.println(p); HENCE, we have to RETURN the value of p and the data type of p will be double. |
|