From 6f4cd7d92c0e3adb0b99118c6805992b3ac485b0 Mon Sep 17 00:00:00 2001 From: islamarr <38818550+islamarr@users.noreply.github.com> Date: Tue, 22 Jun 2021 10:48:49 +0200 Subject: [PATCH] Correct Q43 Answer (#1734) * Correct Q43 Answer Correct Q43 Answer * Q44 Answer Q44 Answer * Update android-quiz.md Co-authored-by: Zhenja --- android/android-quiz.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/android/android-quiz.md b/android/android-quiz.md index 581accd7bd..651bc02939 100755 --- a/android/android-quiz.md +++ b/android/android-quiz.md @@ -656,17 +656,21 @@ xml #### Q43. You need to upgrade to the latest version of the Android Gradle plugin. Which file should you modify? -- [x] root_project_dir/app/build.gradle. +- [ ] root_project_dir/app/build.gradle. - [ ] root_project_dir/settings.gradle. -- [ ] root_project_dir/build.gradle. +- [x] root_project_dir/build.gradle. - [ ] root_project_dir/app/gradle.properties. + +[reference](https://developer.android.com/studio/releases/gradle-plugin#updating-plugin) #### Q44. 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. +- [x] 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. + +[reference](https://developer.android.com/reference/android/app/Application) #### Q45. What folder should you use for your app's launcher icons?