Parameter Passing - 2017

From TRCCompSci - AQA Computer Science
Revision as of 14:31, 13 February 2017 by 000025845 (talk | contribs)
Jump to: navigation, search

Parameter passing is inserting values into methods or calculations using a declared variable, rather than the raw data (strings, numbers, bools, etc.). This can be done in multiple ways, but the most often used (in the skeleton program) will be:

 int a = 10;
 string b= "yes";
or otherwise.