val words = *** //在words被定义时取值 lazy val words = *** //在words被首次使用时取值 def words = *** //在每一次words被使用时取值
原文地址:https://www.cnblogs.com/itboys/p/9862132.html
时间: 2024-10-11 07:11:51
val words = *** //在words被定义时取值 lazy val words = *** //在words被首次使用时取值 def words = *** //在每一次words被使用时取值
原文地址:https://www.cnblogs.com/itboys/p/9862132.html