5. 자바 예외처리
1234567891011121314151617181920import java.io.Console;import java.io.IOException;public class ConsoleOut { public static void main(String[] args) throws IOException { Console console = System.console(); String id = null, strPassword = null; try { System.out.print("아이디: "); id = console.readLine(); System.out.print("패스워드: "); char[] charPass = console.readPassword(); strPassword = new String(char..