*Console(class)(1.6): This class is introduce in java 1.6 version. This class is used to read the contents from the keyboard. Console is a available in “io” package.We can not object of console class directly. It can be created by using console method available in System class.
import java.io.*; class Read1{ public static void main(String[] args) throws IOException{ Console c = System.console(); String name = c.readLine(“Enter your name:”); System.out.println(name); Char[] pwd = c.readPassword(“Enter your password”); System.out.println(pwd); }}
In questa pagina del sito puoi guardare il video online Java Console class della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Java code&Decode 07 febbraio 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 290 volte e gli è piaciuto 8 spettatori. Buona visione!