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

Is break statement can be used as labels in java?

735


What is the purpose of static methods and static variables?

789


What's the access scope of protected access specifier?

800


What does this mean java?

828


How to add menushortcut to menu item?

768


How do you override a method in java?

776


What is the difference between normal report & matrix report?

876


If system.exit (0); is written at the end of the try block, will the finally block still execute?

860


Can a class extend 2 classes in java?

807


What do you understand by the bean persistent property?

797


What is a class component?

891


Why inputstreamreader is used in java?

795


What is a nullable field?

798


Difference between keyword and identifier.

802


can rmi and corba based applications interact ?

872