Call to a member function display() on a non-object问题的解决
原文:https://www.cnblogs.com/xuzhengzong/p/8425521.html