Solved

Which of the Following Lines of Code Is Used to Pass

Question 116

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