Search Header Logo

Android - Quiz 12

Authored by Nguyễn Hương

English

University

Used 1+ times

Android - Quiz 12
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What happen when call method startService() with the same intent 2 times?

ARN
onStartCommand() is called 2 times
Nothing happen
Service is destroyed

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

When to use Setter Injection in the Dependency Injection pattern?

Provide optional dependency
Provide mandatory dependency
Provide run-time dependency
All of above

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of these type parameters is used for a generic methods to return and accept any type of object?

K
N
T
V

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the range of short data type in Java?

(-128 to 127)
(-32768 to 32767)
(-2147483648 to 2147483647)
None of the mentioned

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is different between DataBinding and FindViewById method?

DataBinding generate binding class at runtime and findViewById run at compile time.
DataBinding generate binding class at compile time and findViewById run at runtime.
DataBinding and findViewById run at compile time.
DataBinding and findViewById run at runtime

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is different between DataBinding and FindViewById method?

DataBinding generate binding class at runtime and findViewById run at compile time.
DataBinding generate binding class at compile time and findViewById run at runtime.
DataBinding and findViewById run at compile time.
DataBinding and findViewById run at runtime

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Hilt is integrated with Jetpack libraries, Android framework classes, and automatically generates and provides all of the following except ______?

Components for Android framework classes
Manual management of Android class lifecycles
Scope annotations
Predefined bindings and qualifiers

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?