file handling.
package F ile_ H andling ; import java . io .* ; public class CreateFile { // public static void main(String[] args) { // File f= new File("C:\\Users\\vedva\\OneDrive\\Desktop\\ved.txt"); // try{ // if(f.createNewFile()){ // System.out.println("file successfully created"); // }else{ // System.out.println("file already exixts.."); // } // }catch(IOException e){ // System.out.println("ioexception handled.."); // } //} public static void main ( String [] args ) throws IOException { File f = new File ( "C: \\ Users \\ vedva \\ OneDrive \\ Desktop \\ ved.txt" ); if ( f . createNewFile ()){ System . out . println ( "file successfully created" ); } else { System . out . println ( "file already exixts.." ); } } } package F ile_ H andling ; import java . io .* ; public class FileInfo { public static void main ( String [] args ) { File f = new File ( "C: \\ Users \\ vedva \\ One...