State the Value of Characteristic and Mantissa When the Following Code is Executed: String S = “4.3756”; Int N = S.Indexof(‘.’); Int Characteristic=Integer.Parseint (S.Substring (0,N)); Int Mantissa
Advertisements
प्रश्न
State the value of characteristic and mantissa when the following code is executed:
String s = “4.3756”;
int n = s.indexOf(‘.’);
int characteristic=Integer.parseInt (s.substring (0,n));
int mantissa=Integer.valueOf(s.substring(n+1));
लघु उत्तर
Advertisements
उत्तर
Value of characteristic = 4 and
Value of mantissa = 3756.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
