They are exact same methods but one works and another does not
问题 public class L20 { public static void main(String[] args) throws IOException{ Scanner input=new Scanner(System.in); System.out.println("Enter file name"); String in=input.nextLine(); try{ textWriter(in); textReader(in); textChanger(in); }catch(Exception e){ } } public static void textWriter(String path) throws IOException{ String[] alphabet= {"a","b","c","d","e","f","g","h","i","j","k","m","l","n","o","p","q","r","s","t","u","v","w","x","y","z"}; File file=new File(path); Writer output=null;