Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > parameter vs argument

Reply
Thread Tools

parameter vs argument

 
 
gym.prathap gym.prathap is offline
Junior Member
Join Date: Oct 2012
Location: chennai
Posts: 1
 
      10-17-2012
A parameter is a variable declared in the function or method (depends on the programming language) definition. An argument is an expression that is passed to the function or method in place of a parameter. When a function or method is invoked, all of the parameters of the function or method are created as variables, and the value or reference of the arguments are passed (as value or reference) into the parameters.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Variable argument function as a parameter of a variable argument function AikidoGuy C Programming 11 11-21-2011 10:43 PM
Template argument as template argument nw C++ 0 04-14-2008 01:36 PM
Function pointers, variable argument functions calling other variable-argument functions (sort of) S?ren Gammelmark C Programming 1 01-07-2005 09:41 PM
How to pass variable argument list to another function w/ variable argument list? Ben Kial C Programming 1 11-15-2004 01:51 AM
defaulting argument to previous argument Bhushit Joshipura C++ 5 12-30-2003 03:21 PM



Advertisments