Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
How do you store the value of an input stream into a double object?
1 Answer
- AnalProgrammerLv 71 decade agoFavorite Answer
And the language is?
An object is an instantiated class. The class will have variables that can be set to values to hold the state of the object. If this is your class then you need to have a variable to accept the data.
If the data is a string and you need to store that string into a double then you will need to convert the string to a double then assign the double value to the variable.
You should be using a setter method to assign a value to the state variable.
Have fun.