Question 41
Which of the following classes is used by Intent to transfer data between different android components?
- Extras
- Bundle
- Parcelables
- PendingIntent
Question 42
Which of the following is true about implicit intents? (Choose two)
- They do not have a component specified
- They have components specified to run an exact class.
- They must include information that allows Android system to choose the best component to run.
- They must contain extra information saved in a Bundle object.
Question 43
Which of the following classes should be extended to create a custom view?
- View
- ViewGroup
- Context
- Activity
Question 44
An AsyncTask can be cancelled anytime from any thread.
- True
- False
Question 45
Which of the following is NOT true about onMeasure() method of class View?
- It measures the view and its contents to determine the measured width and height.
- It is invoked by measure().
- When overriding this method, a developer must call setMeasuredDimension().
- It takes three parameters: the height, width, and the depth of the view.