Skip to content

Commit

Permalink
Correct Q43 Answer (#1734)
Browse files Browse the repository at this point in the history
* Correct  Q43 Answer

Correct  Q43 Answer

* Q44 Answer

Q44 Answer

* Update android-quiz.md

Co-authored-by: Zhenja <evg.bazhanov@yahoo.com>
  • Loading branch information
islamarr and Ebazhanov authored Jun 22, 2021
1 parent 4e61720 commit 6f4cd7d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions android/android-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -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?

Expand Down

0 comments on commit 6f4cd7d

Please sign in to comment.