Witam,
Mam problem z wylosowaniem intów. Nie moge uruchomić żadnego skryptu który losuję np. http://www.roseindia.net/j2me/random-number.shtml jest problem przy
number.nextFloat();
Jak mozna z tego wyjsc?
0
0
number.nextInt(); ?
0
nie dziala next...., moze cos zle robie ale nawet jak uruchamiam przyklad to nie chce dzialac.
0
W klasie Random jest metoda nextInt(), więc
int x = number.nextInt();
musi działać.
0
Masz rację, coś musiałem źle robić.