Quiz Online about Android Studio

Words
46
Reading
1 min
Listen
Play
7y

The following code is used to send data from an activity to another activity :

Intent intent = new Intent(this, SecondActivity.class);

intent.putExtra("number", 50);

startActivity(intent);

How do I receive the data on the activity intended?

for those who know the answer please write in the comment column😁

Quiz Online about Android Studio | Ecency