✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Find the output:
import java.util.*;
public class Main { public static void main(String[] args) { List<Double> list = Arrays.asList(1.5, 2.5, 3.5); List<? extends Number> obj = list;
Number n = obj.get(2); System.out.println(n); }}