Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8979175
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T19:47:20+00:00 2026-06-15T19:47:20+00:00

Its most known question Applet vs Application and common answer is applet starts from

  • 0

Its most known question Applet vs Application and common answer is applet starts from init() whereas application starts from main().

Life cycle of Applet : init() -> start() -> paint() -> stop() -> destroy()

but, what about, application ?? it starts from main() then destroy() ?? or it depends on coding part ?? Please correct me, if i’m wrong at any point.

Let say this is the simple java code

public class MyClass {

    public static void main(String  args[])
    {
        System.out.println("Hello World !!");
    }
}

I found this, but i think, this is the common life cycle to all (applet, servlet, application).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T19:47:21+00:00Added an answer on June 15, 2026 at 7:47 pm

    The link you posted talks about the cycle of creating an application.

    For a Java Application the lifecycle is only the main() function. The application will end when all non-demon threads have terminated (threads are non-demon by default) or when System.exit() is called.

    If you don’t start any threads, the only thread is the main thread, which will terminate at the end of the main() function.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sry for bringing this question again as its most common solution would be to
I'm working on a ASP.NET (C#) site that pulls most of its data from
The Question What is the most efficient MGU algorithm? What is its time complexity?
When implementing the INotifyPropertyChanged interface in its most basic form, most people seem to
The link below shows a listview composite control in its most basic form however
I have od of type OrderedDict . I want to access its most recently
I have a form with most of its functionality implemented using standard TAction. I
I am working on a solution, most of its core engine is developed as
I have an OpenCV Android app. Most of its code is in Java but
I'm having problems building a project under the Android NDK. Most likely its due

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.