📅  最后修改于: 2022-03-11 14:52:40.858000             🧑  作者: Mango
the problem: java.lang.NullPointerException: Attempt to invoke virtual method
'int java.util.Random.nextInt(int)' on a null object reference
//you might do not code that:
Random rand = new Random();