}
When an object is allocated on the stack, we use the dot notation.
When an object is allocated on the heap, we use the arrow natation.
Creating objects on stack or heap
原文:http://www.cnblogs.com/cxchanpin/p/7364440.html