Have you ever wanted to escape this world and simply die or get away from it? Yeah, that's how I feel at times. I don't know what to do about it. I need to see a therapist or something. I'm on medication, but that doesn't feel like it's doing enough for me. So I have to figure out...something to do about it all. I don't know though. It scares me. I'm more than scared, if I had the ability to understand what was going on in life, then I could do that. But I can't and that simply seems that life is going to blow up at me in any second now. I wish I could overcome these thoughts and simply make sense of it. Whatever happens, I need reality to be real. Does that make sense? I'm not sure it does. I doubt anything ever makes sense to me anymore. But that's okay. It'll be okay in the end, whenever that will be. If it's not the end, it's not okay yet now is it? No, I didn't think so.
Here's how we generate a random number in Java. It's quite simple. First we import java.util.Random. Then we call that class and grab the next int with an upper bound of 25. That is to say we pick a number from zero to twenty-five. It cannot go below zero it cannot go above twenty-five.
import java.util.Random;
public class RandomNumber {
public static void main(String[] args) {
Random rand = new Random();
int int_random = rand.nextInt(25);
System.out.println(int_random);
}
}
Comments
Post a Comment