Latest Android Aptitude Question SOLUTION: What is the importance of putExtra() method in Android? How is it different from setData()? Anyway both are passing data, then what is the difference?
Options
1) Both putExtra() a
What is the importance of putExtra() method in Android? How is it different from setData()? Anyway both are passing data, then what is the difference?
Options
1) Both putExtra() and setData() are used for same purpose i.e. to pass data to other component.
2) setData() - is to pass data on which to take action. putExtra() - is to send extra information about this intent.
3) setData() - is to send extra information about this intent. putExtra() - is to pass data on which to take action.
4) Logically both are same, so one can omit setData(), and pass all data through putExtra only.
Full form of MATHS
M-mentally
A-assets
T-teacher
H-harassing
S-students
all the time.
Jasmine Khan
Six is a number perfect in itself, and not because God created the world in six days; rather the contrary is true. God created the world in six days because this number is perfect, and it would remain perfect, even if the work of the six days did not exis