Android Programming and Technical Programming Technical

What is the difference between Activity context and Application Context?

Options
1) The Activity instance is tied to the lifecycle of an Activity.
while the application instance is tied to the lifecycle of the application,
2) The Activity instance is tied to the lifecycle of the application,
while the application instance is tied to the lifecycle of an Activity.
3) The Activity instance is tied to the lifecycle of the Activity,
while the application instance is tied to the lifecycle of an application.
4) None of the above

Read Solution (Total 1)

Android Other Question

Parent class of Activity?

Options
1)Object
2)Context
3)ActivityGroup
4)ContextThemeWrapper
How many manifest files will be there in an android application?

Options
1) Maximum one is allowed
2) It can have multiple manifest files
3) 1 and 2, both are correct
4) 1 and 2 both are wrong