Computer Science, asked by Anonymous, 5 hours ago

java program to execute any Windows 95 application Like notepad, calculator​

Answers

Answered by sunprince0000
2

import java.util.*;

import java.io.*;

class Notepad {

 public static void main(String[] args) {

   Runtime rs = Runtime.getRuntime();

   try {

     rs.exec("notepad");

   }

   catch (IOException e) {

     System.out.println(e);

   }

 }

}

Similar questions