📄 stringbufferexam.java
字号:
// stringbufferExam.Java
public class stringbufferExam
{
public static void main(String args[])
{
StringBuffer sf1=new StringBuffer("This is the first string");
StringBuffer sf2=new StringBuffer( );
sf2.append("This is the second string");
StringBuffer sf3=new StringBuffer(2);
sf3.append("This is the third string");
System.out.println("sf1="+sf1);
System.out.println("sf2="+sf2);
System.out.println("sf3="+sf3);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -