import java.io.*;
public class Wordpad {
public Wordpad(){
try{
Process pro=Runtime.getRuntime().exec("write.exe");
}
catch(IOException e){
System.err.println("Error Occured!\n"+e.getMessage());
System.exit(0);
}
}
public static void main(String[] args){
Wordpad obj=new Wordpad();
}
}
public class Wordpad {
public Wordpad(){
try{
Process pro=Runtime.getRuntime().exec("write.exe");
}
catch(IOException e){
System.err.println("Error Occured!\n"+e.getMessage());
System.exit(0);
}
}
public static void main(String[] args){
Wordpad obj=new Wordpad();
}
}
Comments