
Quiz Android 10
Authored by ivi gam
Business
Professional Development
Used 1+ times

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
Which of these type parameters is used for a generic methods to return and accept any type of object?
K
N
T
V
2.
MULTIPLE SELECT QUESTION
1 min • 1 pt
What is the difference between HashMap and Hashtable?
HashMap is NOT synchronized. Hashtable is synchronized.
HashMap is synchronized . Hashtable is NOT synchronized.
HashMap cannot contain any null keys or null values. Hashtable can contain one null key and multiple null values.
HashMap can contain one null key and multiple null values. Hashtable cannot contain any null keys or null values.
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of these class is related to all the exceptions that can be caught by using catch?
Error
Exception
RuntimeExecption
All of the mentioned
4.
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
5.
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
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the difference between const and val?
The keywords const and val are used to declare an immutable property (read-only properties).
const is also known as Compile-time constant. So, no runtime assignment of values is allowed in const variables. So, you can't assign a const variable to a function or to some class. And the val properties can be initialised at the runtime. So, you can assign a val variable to a function or to some class
const only can be used for number like Integer, Long, float. Val can use for all type.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following will directly stop the execution of a Thread?
notify()
notifyall()
exits synchronized code
wait()
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?