A static method can be invoked without the need for creating an instance of a class.
module example();
class static_ex;
static task display();
int a;
a++;
$display("Welcome to static world");
$display("A is %0d",a);
endtask
endclass
initial
begin
static_ex stat_h;
//Choice 1: Using scope resolution
static_ex::display();
//Choice 2: Using class handle
stat_h.display();
end
endmodule
Any of the above two choices will satisfy your requirement.
Regards,
Vinay