class Test1{ int day = 3; } class Test2 { int day; public Test2() { day = 3; } } 以上两种初始化方式,最终实现的效果当然是一样的。 我想问的是,在编程规范里,倾向于使用哪一种?