PRO192_-_SP_2025_-_FE_3648.webp
Y

PRO192_-_SP_2025_-_FE_3648.webp

  • Media owner Yuji99
  • Ngày thêm
Kizspy Question: 40
(Choose 1 answer)
plovenian.com!
What is the output of the following code snippet?
public class Program {
void swap(Integer t1, Integer (2){
int temp =t1;
t1=12;
12=temp;
void f10){
}
List<Integer> list = new ArrayList();
list.add(1);
list.add(2);
swap(list.get(0),list.get(1));
System.out.println(list);
public static void main(String[] args) {
new Program().f1();
A. [1, 2]
B. [2,1]
C. [1, 1]
D. [2,2]

Thông tin

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

Share this media

Back
Bên trên Bottom