Email address:
Password:
SCJP/OCPJP 1.6 certification
Practice Exams and Training

So modification to the array generated from a List is fine and is successful. But modification to List generated from Arrays.asList() is not allowed and an exception is thrown. Is it because the array generated in the latter case is backed by an array and in the former case is independent ?

ExamLab © 2008 - 2024