?? main.java
字號:
/*
* Main.java
* Belongs to Vincent BUAA
* All rights reserved
*/
package javaapplication5;
/**
*
* @author Vincent
* @date September 19, 2007, 12:14 PM
* @version 1.0.0.0
* @function
* @modify
* @remarks
*/
public class Main {
/** Creates a new instance of Main */
public Main() {
}
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
/*String s1="Hello"+","+"world";
System.out.println(s1);
StringBuffer sb2=new StringBuffer();
sb2.append("Hello");
sb2.append(",");
sb2.append("world");
System.out.println(sb2.toString());
StringBuffer sb3=new StringBuffer().append("Hello").append(",").append("world");
System.out.println(sb3.toString());*/
String a="My name is Vincent.";
for(int i=0;i<a.length();i++)
{
System.out.println(a.charAt(i));
}
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -