📄 a.java
字号:
import java.io.*;
public class a
{
public static void main(String[]args)
{
a aa=new a();
}
public a()
{
try
{
File file=new File("a.txt");
if(!file.exists())
{
file.createNewFile();
}
System.out.println(file.getPath().replace(file.getPath(),"yang.txt"));
System.out.println(file.getPath().intern());
}catch(Exception e)
{}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -