Pregunta de entrevista de IXL Learning

How to play background music randomly?

Respuesta de la entrevista

Anónimo

27 oct 2017

I use Java Random API to get next int, then check it if equals the previous one, if yes, get next(10) again.