Topic: Eclipse和NetBean编译的问题 |
Print this page |
1.Eclipse和NetBean编译的问题 | Copy to clipboard |
Posted by: aspmax Posted on: 2004-12-31 15:02 定义一个变量: Enumeration enum = super.getLocales(); 在Eclipse中可通过,可NetBean提示: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier (try -source 1.4 or lower to use 'enum' as an identifier) 意思是enum在jdk1.5中是一个keyword。 但是Eclipse中为什么能通过? 我用的是JDK1.5 |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |