✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
El siguiente código es erróneo ya que (seleccione la opción correcta):CompletableFuture<?> prevCS = new CompletableFuture<>();prevCS.supplyAsync(() -> { List<Integer> list = List.of(1,2,3,4,5); for(Integer element:list){ System.out.println(Math.pow(element,2));}});