Java Program To Open Notepad From System
01. Example: import java.util.*; import java.io.*; class openNotepad { public static void main(String[] args) { Runtime cmd = Runtime.getRuntime(); try { cmd.exec("notepad"); } catch (IOException e) { System.out.println(e); } } …