1、注意:本经验采用的Eclipse版本为Eclipse Java EE IDE for Web Developers.Version: 讣嘬铮篌Luna Service Release 1 (4.4.1)Build id: 20140925-1800

3、在编辑区域点击鼠标右键,选择【Source】

5、查看代码可以看到,已经自动import了两个类。注:同时此方法也会删除无用的import

1、注意:本经验采用的Eclipse版本为Eclipse Java EE IDE for Web Developers.Version: 讣嘬铮篌Luna Service Release 1 (4.4.1)Build id: 20140925-1800
3、在编辑区域点击鼠标右键,选择【Source】
5、查看代码可以看到,已经自动import了两个类。注:同时此方法也会删除无用的import