If you're done, Please mark this thread as solved
Type: Posts; User: Norm
If you're done, Please mark this thread as solved
You'll have a hard time with programming if you can't read and understand documentation.
There is too much to remember so you have to read the API doc to get the details .
I read the API doc many...
The field is private. It can not be accessed from outside of the class.
Add a get method to the class to read that field's value and return it to the caller.
You should spend more time reading...
Can you explain what the problem is?
That doesn't look like any compiler error message I've seen.
The variable in the message is private to the class its defined in.
Please post the full text of the compiler's error messages.
Please post the full text of the error message.
Converting 0.3 to int would give 0
0.3 is a double and needs to be handled as a double. If you cast it to an int it will be 0
Please explain what "won't work" means? Show the program's output and explain what is wrong with it.
If there are errors, please copy the full text of the messages and paste them here.