special.java
来自「Java 入门书的源码」· Java 代码 · 共 18 行
JAVA
18 行
//Copyright (c) 1998, Arthur Gittleman
//This example is provided WITHOUT ANY WARRANTY either expressed or implied.
/* Shows the effect of the
* special characters.
*/
public class Special {
public static void main(String [] args) {
System.out.println("Use \n to go to the next line");
System.out.println("**************************\r back to start");
System.out.println("1234\b\b5678");
System.out.println("***\t tab here");
System.out.println("Do you like \"Gone With the Wind\"?");
System.out.println("The directory is c:\\newstuff");
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?