PRO192_-_SP_2024_-_FE_1629.webp
N

PRO192_-_SP_2024_-_FE_1629.webp

Answer (Choose 1 answer)
Class A is a subclass of class B. What would happen if you try to sort an array of mixed elements of type A and B?
public class B {...}public class A extends B {...}
A. They would sort based on the sorting method found in class A
B. They would sort based on the sorting method found in class B
C. Sorting would just leave the original array unsorted with no exceptions thrown
D. Sorting would yield a ClassCastException as the classes are incompatible


Exit 11

Thông tin

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

Image metadata

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

Share this media

Back
Bên trên Bottom