Q31.webp
ThanhTam81

Q31.webp

Kizspy | Question: 31
(Choose 1 answer)
What is the output of the following Java program?
abstract class A {
private int a, b;
public void call(int a, int b) {
this.aa;
this.b = b;
System.out.println(a + b);
public class Main {
public static void main(String args[]) {
Am new A() {};
m.call(12, 25);
A. 37
B. 12
C. 25
D. Compiler error at statement A m = new A() {};

Thông tin

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

Share this media

Back
Bên trên Bottom