?? strdemo.java
字號:
class StrDemo {
public static void main(String args[]) {
System.out.println("Displaying a string :"+"\'A\'"); //輸出字符串常量及'A'
System.out.println("Displaying many string :"+"\"string\""); //輸出字符串常量及"string"
System.out.println("Displaying a backmark :"+"\\" ); //輸出字符串常量及\符號
System.out.println("Text separated\t\tby two tabs"); //輸出插入在字符串常量中的兩個制表符
System.out.println("There are two lines\n\nspaced text"); //輸出插入在字符串常量中的兩個換行符
System.out.println("************\r####"); //l輸出*串后將光標移到行首,然后輸出#串
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -