访问对象属性的语法: objectName.propertyName 访问对象的方法: objectName.methodName() 转载于:https://www.cnblogs.com/liuting-1204/p/5691903.html