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

Java 8: Default Interface Implementations, The Diamond Problem, Multiple Inheritance, and Precedence

Tuning ext3 for performance without losing its data integrity potential