Java is really strong ah. By the way, two small problems

I'm in the windows character set, not like ah tube, GBK and UTF-8 in the console under the normal input and output, Java how to deal with?

I'm not importing the package, only the Lang package can also run, the Console class is not in the inside it. Why?

Started by Stan at November 10, 2016 - 4:14 AM

The System class.Console...

Posted by Amy at November 22, 2016 - 4:55 AM

The Java is using the system default encoding

Posted by Solomon at December 06, 2016 - 5:51 AM

System.console()Only the returned Console object associated with the current Java virtual machine.

Posted by Dwight at December 19, 2016 - 6:17 AM

This is the S. . . . .

Posted by Matthew at December 20, 2016 - 6:39 AM

Pass by, learning

Posted by Rebecca at December 26, 2016 - 6:52 AM

Concole conc = System.console();


You write so it may need to import the package.

Posted by Pete at December 30, 2016 - 7:04 AM

In a word, look at the source code.

Posted by Egbert at December 31, 2016 - 7:24 AM

Using this tool, the mouse that it saw that is where they come from., very convenient.

If not why it in that bag, you can write a class to JAR packet on the line, you will understand, to create his people to put where put where, only the people who created it possibly know why.

Posted by Bard at January 08, 2017 - 7:26 AM