2011年5月31日

【JAVA】输入输出方法

摘要: 输出:The showMessageDialog Method:JOptionPane.showMessageDialog(null, "Welcome to Java!", “Display Message", JOptionPane.INFORMATION_MESSAGE));输入:1.showInputDialogfirstNumber = JOptionPane.showInputDialog( "Enter first integer:");2.ScannerScanner input = new Scanner(System.in) 阅读全文

posted @ 2011-05-31 08:22 张小捷 阅读(234) 评论(0) 推荐(0) 编辑

导航