📄 tofile.java
字号:
import java.io.*;
class tofile {
static void write(FileOutputStream output,String str){
try
{
byte buf[]=new byte[100];
str=str+(char)13+(char)10;
buf=str.getBytes();
output.write(buf);
}
catch(Exception e)
{
String err=e.toString();
System.out.println(err);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -