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 a double vs float?

755


Why does java not support operator overloading?

907


How do you do math powers in java?

818


Can we have any code between try and catch blocks?

756


What value is a variable of the string type automatically initialized?

840


What is difference between word and integer?

810


Can we have this () and super () together?

799


Explain the difference between association, aggregation and inheritance relationships.

822


Can I learn java without any programming experience?

788


Why we use methods in java?

752


Can we use a default constructor of a class even if an explicit constructor is defined?

849


Is there any way to skip finally block of exception even if some exception occurs in the exception block?

851


What is basic syntax?

761


Explain the difference between call by refrence and call by value?

792


What is byte [] in java?

763