Given:  int[] myArray=newint[] {1, 2,3,4, 5};  What allows you to create a list from this array?() 

A .  List myList = myArray.asList(); B .  List myList = Arrays.asList(myArray); C .  List myList = new ArrayList(myArray); D .  List myList = Collections.fromArray(myArray);

时间:2022-10-04 17:25:05 所属题库:SCJP程序员认证考试题库

相似题目