Multiple Choice
Which of the following lines of code is used to pass a value to the next activity?
A) Intent i = new Intent(this,newActivity) ; i.addExtra("test") ; startActivity(i) ;
B) i.putValue("test") ;
C) i.putValue("value1","test") ;
D) i.putExtra("value1","test") ;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q111: Which of the following Activity methods is
Q112: Which of the following is true about
Q113: Which of the following is required for
Q114: Which of the following is not included
Q115: Which of the following is NOT true
Q117: Which of the following is NOT true
Q118: The DalvikVM core libraries are a subset
Q119: Which UI does the following code builds?
Q120: GPS provider requires a physical device and
Q121: Which ORMLite library annotation would you use