java反转数组函数

Collections.reverse(Collections.singletonList(num));

你可能感兴趣的:(笔面试,java)