View Single Post
  #2 (permalink)  
Old 01-03-2008, 07:47 PM
CaptainMorgan's Avatar
CaptainMorgan CaptainMorgan is offline
Moderator
 
Join Date: Dec 2007
Location: NewEngland, US
Posts: 840
CaptainMorgan will become famous soon enoughCaptainMorgan will become famous soon enough
Send a message via AIM to CaptainMorgan
They're often used interchangeably, but more technically a parameter is the thing used to define a method while an argument is the thing used in the call to a method. And in the case you pointed out, they would be parameters as opposed to when you actually call calculatSalary("Foo", 2134) with arguments.

Hope this helps.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
to our beloved Java Forums!
(closes on September 4, 2008)
Want to voice your opinion on your IDE/Editor of choice?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
!
Got a little Capt'n in you? (drink responsibly)
Reply With Quote