what is the output of the following code and how?
class a;
int a =10;
function prnt();
$display("a = %0d", a);
endfunction
endclass
class ae extends a;
int a =20;
endclass
module tb;
a ah =new();
ae aeh =new();
initial begin
ah.prnt();
aeh.prnt();
end
endmodule