PRN292c_-_FA_2023_-_1_1180.webp
lanhoa86

PRN292c_-_FA_2023_-_1_1180.webp

  • Media owner lanhoa86
  • Ngày thêm
(Choose 1 answer)
class Test
What is the output of the following code?
{
int x, y;
public Test() { x = 0; y = 0; }
public int Z set {
this.x = value;
this.y = x * 2;
}
get { return this.x + this.y; }
}
}
A. 9
B. 0
C. 3
D. 6
static void Main(string[] args){Test s = new Test();
s.Z = 3;
Console.WriteLine(s.Z);
}


Exit 21

Thông tin

Category
PRN292c
Thêm bởi
lanhoa86
Ngày thêm
Lượt xem
102
Lượt bình luận
1
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRN292c_-_FA_2023_-_1_1180.webp
File size
48.7 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom