Changes between Version 3 and Version 4 of ControlSystems/SoftwareTeam/Training/GettingStarted/Methods


Ignore:
Timestamp:
Nov 4, 2019, 3:56:17 PM (6 years ago)
Author:
David Albert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ControlSystems/SoftwareTeam/Training/GettingStarted/Methods

    v3 v4  
    2020}}}
    2121
    22 * The function's name is 'square' (notice that function names are typically verbs because they ''do'' something). 
     22* The function's name is '''square''' (notice that function names are typically verbs because they ''do'' something). 
    2323* It takes an input parameter that is an integer and is referred to within the function as a.
    2424* The function returns an integer that it computes by multiplying a by itself.
     
    3939}}}
    4040
    41 Create a new EchoExample project folder and in it create an Echo program as follows:
     41Create a new !EchoExample project folder and in it create an Echo program as follows:
    4242{{{
    4343public class Echo {
     
    5454}}}
    5555
     56* Save the program as Echo.java
    5657* Run the program and observe the output
    5758* For now, we're going to ignore the keywords public and static, we'll get to those soon