静态导入

1.只需在类上写

import static 包

例如: import static java.lang.Math.*;

posted on 2017-05-24 11:53  老邱2  阅读(68)  评论(0)    收藏  举报

导航