![]() |
I need a code that can generate random numbers!!?
I need someones help in finding or creating a code that can generate random numbers in JAVA.
it can be from using API or any other sources that are out there. I also need an explanation on how the code works!! PLEASE HELP ME!!! Thank You Additional Details The thing is i dont know how to create a random generator code either.. and i dont really have the time to learn this in one night because its due in the morning. Please i need your help! |
Re: I need a code that can generate random numbers!!?
This capability is built into the java.util library! Just import the library using:
Code:
import java.util.*;Code:
Random generator = new Random();- Ben |
| All times are GMT +5.5. The time now is 22:04. |