Difference Between a Parameter & Argument

A parameter is part of a method's signature declaration and is used as a receiving container for an argument.

An argument is an actual value literal that is passed to a method that performs operations based on and an arguments value.

This graphic illustrates the difference:

Comments

Popular posts from this blog

Tuning ext4 for performance with emphasis on SSD usage

NetBeans 6.1: Working with Google´s Android SDK, Groovy and Grails