Difference between Applet & Application?

Answer Posted / pankaj

A Java Applet is made up of at least one public class that has to be subclasses from java.awt.Applet. Whereas, A Java application is made up of a main() method declared as public static void that accepts a string array argument,along with any other classes that main() calls.

Is This Answer Correct ?    67 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is core java used for?

519


What is %d in printf?

534


Can we call virtual funciton in a constructor ?

1779


What is keyword in oop?

527


What is the use of protected in java?

538






How can constructor chaining be done using this keyword?

591


What are constants and how to create constants in java?

560


What is a Presistent Object?

647


How to use Media tracker Class.

648


What is meant by local variable and instance variable?

604


How to restrict a member of a class from inheriting by its sub classes?

809


What is the intersection and union methods?

551


What is unicode used for?

575


Are arrays dynamic in java?

541


How do you do descending order in java?

524