Please help me to generate random in java without using library function
vivekH
0
Light Poster
Recommended Answers
Jump to Post<Sigh>
I'm sure you know this by now but...Do provide evidence of having done some work yourself if posting questions from school or work assignments
(DaniWeb Member Rules)
Jump to Postpublic static void main(String[] a){ Random random = new Random(); }
Jump to Postvivek: you want to do it without "library function". since Java doesn't have functions (it has methods) ... what's the problem ?
in the end, you can not possibly do anything in Java without using any existing library, so be more specific about what you can and can not use. …
All 10 Replies
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
stultuske
1,116
Posting Maven
Featured Poster
vivekH
0
Light Poster
stultuske
1,116
Posting Maven
Featured Poster
vivekH
0
Light Poster
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
vivekH
0
Light Poster
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
Taywin
312
Posting Virtuoso
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.