correct ans is D Applets are generally built to be embedded in other applications
They are small programs mainly written in JAVA and Java applets can be written in any programming language that compiles to Java bytecode. They are usually written in Java, but other languages such as Jython, JRuby, Pascal, Scala, or Eiffel (via SmartEiffel) may be used as well.
A Java applet can appear in a frame of the web page, a new application window, Sun's AppletViewer, or a stand-alone tool for testing applets. Java applets were introduced in the first version of the Java language, which was released in 1995.