Can I print the entire mailbox contents using display statement?

This is my program,

class a;
  int a=0;
  mailbox mbx=new();
  task call();
    repeat(10)
      begin
        a=a++;
        mbx.put(a);
      end
  endtask
endclass

module tb();
  a aa=new();
  initial
    begin
      aa.call();
      $display("mailbox=%p",aa.mbx);
    end
endmodule

When I run the above program I am not getting the mailbox contents.

In reply to kireeti1192:
Please use code tags. I have added them for you.

Using %p on a class handle is implementation dependent. Read your tool’ manual or contact them for support.

In reply to dave_59:

Thanks Dave,
For displaying the mailbox contents, I can use %p format specifier or by using get method, I can display the content.
Is there any other way to display the mailbox contents?