I think there may be some problem with ur JVM.Try to re-install ur JVM and
check
Poornima Visvesvaran wrote:
> Hi friends,
>
> I want to generate int random numbers between 0 to 25.
>
> Random r= new Random();
> int i=r.nextInt(25);
>
> now i should have values from 0 to 25 whenever we run
> the process.
>
> Compilation is fine. At runtime, it is displaying as
> there is no such method.
>
> All the other methods of random class
> (ie.nextInt(),nextDouble() etc) are working
> perfectly.)
>
> Can anyone help me.
>
> With regards,
>
> Poornima Visvesvaran.
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html