What is the Console class?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is the Console class?
Rating:
The Console class extends the Object class and has convenience methods to read from and write to the console objects. Also, it has the readPassword() method to read a password from the console. If the underlying virtual machine has a console, it can be obtained by invoking the System.console() method. If no console device is available, then an invocation of the System.console() method returns null.
Rating:
Was this information helpful?
Other articles
- What is the ceilingKey(k) method of the NavigableMap interface?
- What are the data type conversions available in Java?
- What is the PrintWriter class?
- What is the ceiling() method of the NavigableSet interface?
- Everything you want to know about the CX310-065 exam