PRO192_-_SP_2024_-_FE_1629.webp
N

PRO192_-_SP_2024_-_FE_1629.webp

(Choose 1 answer)
In Java, which of the following methods of the Collections class can be used to find the largest value in a Vector?
A. Collections.max(Collection<T> col)
B. Collections.maxValue(Collection<T> col)
C. Collections.maxElement(Collection<T> col)
D. We don't need any method because elements in Vector are automatically sorted. Therefore, the first element contains the maximum value.


Exit (47
  • Like
Reactions: bách

Thông tin

Category
PRO192
Thêm bởi
ngochoa871
Ngày thêm
Lượt xem
4,293
Lượt bình luận
15
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRO192_-_SP_2024_-_FE_1629.webp
File size
67.3 KB
Dimensions
1926px x 906px

Share this media

Back
Bên trên Bottom