Home > Back-end >  There will use eclipse? This is how to return a responsibility?
There will use eclipse? This is how to return a responsibility?

Time:03-12

How to run not

CodePudding user response:

In addition to the Java. Lang bag class does not need to import, other all need import
In the second line add
import java.util.Scanner;

And then remember that new problems were mostly eye problems, put the eyes bright spots can solve most, such as Chinese symbols, in brackets, and the less you import a package.
Why you might want to import, because a lot of class name, depends on the full path recognition...

CodePudding user response:

Scanner to red wavy lines, you put the mouse up and behold, there will be a tip, you haven't imported packages

CodePudding user response:

Installed several Java version conflict, isn't it?

CodePudding user response:

reference 1st floor maradona1984 response:
. In addition to the Java lang bag class don't need to import, the other is you need to import the
In the second line add
import java.util.Scanner;

And then remember that new problems were mostly eye problems, put the eyes bright spots can solve most, such as Chinese symbols, in brackets, and the less you import a package.
Why you might want to import, because a lot of class name, depends on the full path recognition...
eldest brother can add a QQ friends, often see you in the BBS

CodePudding user response:

reference 4 floor James 灬 Gosling response:
Quote: refer to 1st floor maradona1984 response:
. In addition to the Java lang bag class don't need to import, the other is you need to import the
In the second line add
import java.util.Scanner;

And then remember that new problems were mostly eye problems, put the eyes bright spots can solve most, such as Chinese symbols, in brackets, and the less you import a package.
Why you might want to import, because a lot of class name, depends on the full path recognition...
eldest brother can add a QQ friends, often see you in the BBS

A month to see QQ messages

CodePudding user response:

reference 5 floor maradona1984 reply:
Quote: refer to 4th floor James 灬 Gosling response:
Quote: refer to 1st floor maradona1984 response:
. In addition to the Java lang bag class don't need to import, the other is you need to import the
In the second line add
import java.util.Scanner;

And then remember that new problems were mostly eye problems, put the eyes bright spots can solve most, such as Chinese symbols, in brackets, and the less you import a package.
Why you might want to import, because a lot of class name, depends on the full path recognition...
eldest brother can add a QQ friends, often see you in the BBS

A month to see QQ messages

That can add a WeChat, my WeChat ID hahasjl0613
  • Related