logo

Crowdly

Browser

Add to Chrome

Find the output: import java.util.*; public class Main {     public sta...

✅ 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<Integer> list = new ArrayList<>();

        List<? extends Number> obj = list;

        obj.add(100);

        System.out.println(obj);

    }

}

0%
0%
100%
0%
More questions like this

Want instant access to all verified answers on lms2.apiit.edu.my?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome