I am generating a random number using Random ran= new Random() long num=(ran.nextLong() % 9000L)+1000L; Can you Please tell me what does %9000L and 1000L do in this code. ThankYou.
Aucun commentaire:
Enregistrer un commentaire