为什么Java中lambda表达式不能改变外部变量的值
JLS 15.27.2 提到:The restriction to effectively final variables prohibits access to dynamically-changing local variables, whose capture would likely int
JLS 15.27.2 提到:The restriction to effectively final variables prohibits access to dynamically-changing local variables, whose capture would likely int