PRN211_-_SP_2024_-_RE_1754.webp
L

PRN211_-_SP_2024_-_RE_1754.webp

Answer (Choose 1 answer)
class A{
public virtual void Print(){
Console.Write("Dot");
}
} class B: A{
public override void Print(){
Console.Write("NET"):}
}
class Program{
static void Main(string[] args){
}
}
B obj = new B():
obj.Print():A obj1 = new B():
obj1.Print():
Console.WriteLine():
The output will be:
A. An exception will be thrown
B. NETDot
C. DotNET
D. NETNET


Q: 28

Thông tin

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

Image metadata

Filename
PRN211_-_SP_2024_-_RE_1754.webp
File size
172.2 KB
Dimensions
1920px x 892px

Share this media

Back
Bên trên Bottom