PRN211_-_FE_-_SU_2023_441.webp
D

PRN211_-_FE_-_SU_2023_441.webp

  • Media owner Dagon99
  • Ngày thêm
(Choose 1 answer)
class A {
static int x = 1;
static A(){
x++;
}
public A(){
x += 3:
}
public void Print(){
Console.WriteLine($"{x}, {++x}");}
}
class Program{
static void Main(string[] args){A obj = new A();obj.Print();}
}
The output will be:
A. 5,6

Thông tin

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

Image metadata

Filename
PRN211_-_FE_-_SU_2023_441.webp
File size
39.7 KB
Dimensions
1286px x 546px

Share this media

Back
Bên trên Bottom