Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,195,078 members, 7,957,024 topics. Date: Tuesday, 24 September 2024 at 04:47 AM |
Nairaland Forum / Science/Technology / Programming / Need Help(java Program) (825 Views)
Java Program To Solve Quadratic Equation-dealwap / How To Create A Small Gui(graphical User Interface) Using Jframe In Java Program / Import Dll Into Java Program (2) (3) (4)
(1) (Reply)
Need Help(java Program) by malone5923(m): 12:27am On Aug 02, 2008 |
Hi, Is it possible to get the seed value for sets of number like 5(not randomly generated). I have checked the Api for java but I can only get methods for setting seed values. |
Re: Need Help(java Program) by javarules(m): 7:22pm On Aug 08, 2008 |
import java.util.Random long seed = 1011001; Random rand = new Random(seed); int a = rand.nextInt() boolean b = rand.nextBoolean() etc |
(1) (Reply)
Beginning With VB.NET / Which Of D Programming App Do You Think Is D Best Also Stating Ur Reasons / Do You Have Solution To This Problem?
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 16 |