Menu
Question Index
...

Which of the following is incorrect?

X: Case insensitive sort on a list of strings can be done by using Collections.sort(list, String.CASE_INSENSITIVE_ORDER);
Y: It is preferred to declare List<String> list = new ArrayList<String>(); because later on if code needs to be changed from ArrayList to Vector, then we need to change only at the declaration.


X only
Y only
Both are correct
Both are incorrect

Doubts

Problems

Topic: Java Vector

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App