Q28.webp
ThanhTam81

Q28.webp

Kizspy Question: 28
(Choose 1 answer)
What is the output following the code snippet?
class DemoClass {
static void m()
}
System.out.println("A");
class DemoClass Child extends DemoClass {
static void m() {
}
System.out.println("B");
public class Main {
public static void main(String[] args) {
DemoClass obj = new DemoClassChild();
obj.m();
}
A. A
B. B
C. AB
D. BA

Thông tin

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

Share this media

Back
Bên trên Bottom