Which of the following lines of code is used to pass a value to the next activity?
A.
Intent i = new Intent(this,newActivity);
B.
addExtra(“test”);
startActivity(i);
C.
Intent i = new Intent(this,newActivity);
D.
putValue(“test”);
startActivity(i);
E.
Intent i = new Intent(this,newActivity);
F.
putValue(“value1”,“test”);
startActivity(i);
G.
Intent i = new Intent(this,newActivity);
H.
putExtra(“value1”,“test”);
startActivity(i);