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