PRN292c_-_FA_2023_-_2_1241.webp
M

PRN292c_-_FA_2023_-_2_1241.webp

22
Answer (Choose 1 answer)
What is wrong with the following C# code?
public class A
{
}
//Class A members
public class B
//Class B members
}
public class C: A, B
//Class C members
}
A. Class C cannot extend two classes A and B.
B. The code is correct and it does not have any problem.
C. Class A and class B cannot be base classes since they don't have members to be inherited.
D. The classes have no constructors. Each class should implement at least one constructor.

Elt

Thông tin

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

Image metadata

Filename
PRN292c_-_FA_2023_-_2_1241.webp
File size
73.1 KB
Dimensions
1926px x 906px

Share this media

Back
Bên trên Bottom