Software Archive
Read-only legacy content
17061 Discussions

Need a Little help in netbeans and eclipse..

jmiles001
Beginner
721 Views
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


___________________


0 Kudos
0 Replies
Reply