Given the function <em>cube()</em> as in Line 1 - 2.
To pass the value 4 to this function, we just place 4 inside the parenthesis of the function (Line 4). The value of 4 will be multiplied by itself for two times and the final multiplied result (4 * 4 * 4 = 64) will be returned to variable result.
If we use <em>print() </em>function to display the result, we shall see a value of 64 printed on the terminal.
Systems such as smartphones, appliances, game controllers, cable set-top boxes and automobiles that contain small computers are called Embedded systems.
Types in java are divided into two categories. the primitive types are boolean, byte, char, short, not, long, float, and double. all other types are REFERENCE types