In addition to its primary attributes of action and data URI, intent can include additional attributes called extras. An extra can provide more information to the component that receives the intent. It is accessed using -
-
Intent.getIntentExtras()
-
Intent.getExtras()
-
Bundle.getExtras()
-
None of above
B
Correct answer
Explanation
In Android, the extras associated with an Intent are retrieved using the Intent.getExtras() method, which returns a Bundle containing the key-value pairs. There is no getIntentExtras() method on Intent, making Intent.getExtras() the correct choice.