?? myclass1.java
字號:
/*源程序清單6-9*/
public class MyClass1 {
public static void main(String[] args)
{
try
{
System.out.println("Please input a char,then enter,'q' to quit:");
while(true)
{
int i=System.in.read();
if(i==113)
break;
if(i!=13&&i!=10)
System.out.println("The char's ASCII is "+i);
}
}
catch(Exception e)
{
System.out.println(e.toString());
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -