The static field DBmysql.getline should be accessed in a static way
MyEclipse里的警告,是什么意思?
程序:
lis2 = (String)this.reupline(this.getline);
getline有警告
[解决办法]
getline是个静态字段,应该以静态方式引用
把this.getline换成DBmysql.getline就好了,或者直接写getline
发布时间: 2012-10-13 11:38:17 作者: rapoo
The static field DBmysql.getline should be accessed in a static way
MyEclipse里的警告,是什么意思?
程序:
lis2 = (String)this.reupline(this.getline);
getline有警告
[解决办法]
getline是个静态字段,应该以静态方式引用
把this.getline换成DBmysql.getline就好了,或者直接写getline