中国大学MOOC: What is the result of the following?List<Double> list = new ArrayList<>();list.add(5.4);list.add(1.2);Optional<Double> opt = list.stream().sorted().findFirst();System.out.println(opt.get() + + list.get(0));
中国大学MOOC: What is the result of the following?List<Double> list = new ArrayList<>();list.add(5.4);list.add(1.2);Optional<Double> opt = list.stream().sorted().findFirst();System.out.println(opt.get() + + list.get(0));
1