asbtract class A { private String attr = ""; }
class B extends A { @Value("${xxx}") private Str优艾设计网_PS问答ing attr; }
假如properties里面的xxx的值为“123”,那么 A a = new B(). a.attr的值是多少?“” 还是 “123”?
asbtract class A { private String attr = ""; }
class B extends A { @Value("${xxx}") private Str优艾设计网_PS问答ing attr; }
假如properties里面的xxx的值为“123”,那么 A a = new B(). a.attr的值是多少?“” 还是 “123”?
杀手3不可触碰任务怎么过??:下一篇
精彩评论