Console is the Java class for interactive terminal programs. Its main advantage over Scanner is readPassword(), which reads a password without echoing characters to the screen. Console is only available when the program is run from a real terminal — in an IDE it usually returns null.
Getting the Console and Basic Methods
Content is available with subscription.
Get full access to all courses on the platform for one year with a single payment.
▼
Unlike other platforms that charge per course, here you get everything for one price, and after one year of use there will be no automatic charge for the following year.