How To Save And Run The Applet Program | I am going to show you how to save and run the applet program. For this we need 2 file in the first one we have to type the java program and save it as file app1.java and in the second file we have to type the html code and save it as java filename.html.