Solved

Which of the Following Lines of Code Is Used to Pass

Question 91

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents