Question: Why do developers often put app initialization code in the Application class?
- The Application class is instantiated before any other class when the process for the application is created.
- The Application class is instantiated after any permissions requests when the process for the application is created.
- The Application class is created each time a new Activity is launched, making it ideal for initialization code.
- The Application class is created each time a background service is called, making it ideal for initialization code.
Answer: The correct answer of the above question is Option A:The Application class is instantiated before any other class when the process for the application is created.