public class Something { public static void main(String[] args) { Other o = new Othepublic class Something { public static void main(String[] args) { Other o = new Other(); new Something().addOne(o); } public void addOne(final Other o) { o.i++; } } class Other { public int i; } 和上面的很相似,都是关于final 的问题,这有错吗?