试试这个:
public class Main {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
String str1 = "Hello";
String str2 = "Hello2";
char c = 'a';
System.out.println(str1 + c + str2);
}
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
8253 次 |
| 最近记录: |