Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 classpath?

1022


explain multi-threading in java?

1035


How do you get the length of a string in java?

1012


What is abstract class constructor called?

1006


What is the symbol for line break?

1100


What is the use of hashmap in java?

1091


In java, how many ways you can take input from the console?

1002


Explain differences between collection api and stream api?

1190


Describe 2 different ways to concatenate two strings.

1207


Draw a UML class diagram for the code fragment given below: public class StringApplet extends Applet { private Label sampleString; private Button showTheString; private ButtonHandler bHandler; private FlowLayout layout; public StringApplet() { sampleString = new Label(" "); showTheString = new Button (" Show the String"); bHandler = new ButtonHandler(); layout = new FlowLayout(); showTheString.addActionListener(bHandler); setLayout(layout); add(sampleString); add(showTheString); } class ButtonHandler implements ActionListener { public void actionPerformed(ActionEvent e) { samplestring.setText("Good Morning"); } } } Note: The methods need not be indicated on the diagram.

2056


What data type is true or false?

1050


What is the purpose of the file class in java programming?

1029


What is the type of lambda expression?

1028


What is java developer skills?

986


What is the common usage of serialization?

1149