What is an Applet?
-
An interactive website
-
A Java program that is run through a web browser
-
A type of computer
-
Java method
An applet is a Java program designed to be embedded in HTML pages and executed through a web browser with JVM support. Option A is incorrect because applets are programs, not websites themselves. Option C is nonsensical. Option D is wrong because an applet is a complete program, not a single method.
An Applet is a small Java program designed to run inside a web browser (historically via the Java Plug-in), embedded in a web page rather than launched as a standalone desktop program. It's not the website itself, a type of hardware, or merely a method — it's a distinct kind of Java program with its own lifecycle managed by the browser's Java runtime.