Posted on 2005-05-02
Last Modified: 2010-03-31
what is the difference btw a applet and a java class?

Question by:Moizsaif123
    LVL 15

    Accepted Solution

    Applet is a java class that runs inside a browser when a java application runs without it (via the main method).
    Both Applets and Java application are constructed from java classes.
    Applets tutorial:
    Java Applicaiton:
    LVL 15

    Expert Comment

    This is also a good start for writing Applets:
    LVL 92

    Expert Comment

    An Applet is any Java class that is a subclass of java.applet.Applet.

    LVL 16

    Expert Comment


    I think that auzarov and objects have covered everything. One can embed applet in your HTML whereas Java application is a kind of desktop application.

    NP: to objects and aozarov -> Hi, you all helped me alot :). Thx.

    LVL 30

    Expert Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Suggested Solutions

    Title # Comments Views Activity
    userCompare  challenge 3 53
    commonTwo  challenge 63 68
    countHi challenge 25 60
    pairstar challenge 2 26
    Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
    Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
    Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
    Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now