Difficult stuff. :)
Another java question.
When I use
If statements sometimes I'm supposed to use ( == ) but sometimes people tell me it's better to have ( .equals ). I've never understood when.
Does any of your suggestions actually work?
Is this a correct way to do it? (Can't test it myself on this computer unfortunately)
int r = Math.random()*100
I've got a really basic question on Java.
I want to randomize an integer between 0 - 100. I have some ideas but it should be simplier than how I made it.
Please help.