==, != operator on a class handle

Hi,

Apart from comparing with null operator, what is the purpose of using ==, != operator on a class object.

for example,

packet pkt1, pkt2;

initial begin
  pkt1 == pkt2;
end

In reply to shatrish:

It can tell you if two class variables are referencing the same class object.