What is the difference between parameters and local variables? How are they used in an activity?

What is the difference between parameters and local variables? How are they used in an activity?
Values stored in parameter values can be shared between two activities but the scope of local variables is confined to the activity in which they are declared.
Parameters can be referenced as Param. parameter name.
Local variables are referenced as Local. variable name. more on Activities


No comments:

Post a comment