Need a Little help in netbeans and eclipse..

Need a Little help in netbeans and eclipse..

Hi,

Hello there, Good day!! I just want to ask..because I am confused about this Netbeans and Eclipse IDE's..i know that they both come from Java Technology but why that some codes in eclipse doesn't run in netbeans coz usually I am using eclipse..just take a look at this code:

In eclipse
scanner input= new Scanner(System.in);
x=input.nextInt();

but why in netbeans that code is error and the correct one is this:
scanner input= new Scanner(System.in);
x=input.nextInteger();

and some more code which are not working in netbeans but working in eclipse!..pls help me

___________________

1 条帖子 / 0 全新
如需更全面地了解编译器优化,请参阅优化注意事项