The method takes a string argument and returns its double value.
a.
parsestring()
b.
returndouble()
c.
parseint()
d.
parsedouble()
The method takes a string argument and returns its double value.
a.
parsestring()
b.
returndouble()
c.
parseint()
d.
parsedouble()
d
Explanation:
In java you can use pareDouble(string str) to convert the string into double.
for example if you have string like this.
string str = [tex]"16.45" ;[/tex]
then you can use
double mydouble = Double.parseDouble(str);
print(mydouble); //it will print out 16.45
but if the string would not be able to be parsed into double then you will get an error.
Not so sure about this sorry
Don’t know sorry if i know it later i would put it here