java二分法统计数组中某一个数出现的次数
public class TestMain { public static void main(String[] args) { //添加随机数到数组 int[] randomArray = new int[100]; for (int i = 0; i < randomArray.length; i++) { int randDomNum = new Random().nextInt(100)+1;