Class static methods and static properies initialization and creation

In reply to dave_59:

Hi Dave,



module Main;

class A;

int a;

function DISP();

$display(" a == %0d ",a);

endfunction

endclass

A a1 , a2 , a3;


initial begin

a1 = new();
a2 = new();
a3 = new();

end

endmodule


Now I would have Memory Allocated for each Property of class A i.e a1.a , a2.a , a3.a

What about Methods of class A ?
Do they have separate Memory for Each Instance Or is the Memory Shared
Does the Same apply to Virtual / Static Methods ?