FileOutputStream fout=null; Scanner sc; try{ //creating a txt file. file=newFile("./JavaTpoint.txt"); file.createNewFile(); System.out.println("Enter a string to get the file channel--->"); sc=newScanner (System.in); //taking a string from the user and convert it into char Ar...