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
Q86: When publishing an update to your application
Q87: Which of the following is NOT true
Q88: Which of the following is NOT true
Q89: Method onDraw() of class android.view.View has the
Q90: Which of the following is NOT true
Q92: Consider the following the code: public boolean
Q93: When including a text file in your
Q94: Which of the following is not true
Q95: Which UI does the following code builds?
Q96: To create a customized Adapter for a
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents