R
Roedy Green
Has anyone run across an official definition of argument and parameter
for Java?
for Java?
Has anyone run across an official definition of argument and parameter
for Java?
Has anyone run across an official definition of argument and parameter
for Java?
JLS 8.4.1 defines "formal parameter" and refers to
"actual argument expressions" that supply the initial
values of the "parameter variables." This is consistent
with the practice in some other languages: The parameter
is the local variable in the method/function/subroutine/
procedure/lambda expression/whatever, and the argument
is the caller-supplied value/reference/thingy.
Roedy said:thanks. I have written new entries for
http://mindprod.com/jgloss/parameters.html
http://mindprod.com/jgloss/arguments.html
The terms are interchangeable. But I'm sure we could
have a long parameter on this subject.
Andrew said:Wayne wrote:
..
(chuckle)
Mark said:Yeah that was a good one. I was going to say that Java methods have
parameters and arguments are what we have here. ;-)
no!Lew said:Must ... not ... quote ... Monty Python ... ... must ... resist . . . .
Lew said:Must ... not ... quote ... Monty Python ... ... must ... resist . . . .
Andrew said:The only sketch I can think of that comes close, is the
'I want an argument' sketch.
You get the gold star. That is the one that fits the parameters.
Lew said:You get the gold star.
Roedy said:Who can quote the line from Star Trek?
Roedy Green said:Who can quote the line from Star Trek?
Monty Python is quite popular here actually. Although it does kind ofAndrew said:Thanks! That is much more validation than any ..
<dws>Google groups 'rating'</dws>.
But I am surprised that ..an *American* * would have
such arcane knowledge of Monty Python! It is good
to post to these international newsgroups, if only to
dispell such 'colloquial myths'!
* My apologies for my amazement, but I thought Monty
Python's appeal was limited to those English speaking
countries that were 'not America'. I had suspected the
MP humor to be 'beyond them' ( thank you for pointing
out the - ..naivety of my ways .
You must be thinking of Star Trek: TNG. The original star trek was allAndrew said:Who cares? (I always hated Star Trek, such dweebie
"let's all get in touch with our inner feelings" crap that I
hoped the Klingons/Borg/'WhoCares?' would wipe the lot
of them out - they did not deserve to infest the universe
with 'Federation Dweebies').
Andrew said:Thanks! That is much more validation than any ..
<dws>Google groups 'rating'</dws>.
But I am surprised that ..an *American* * would have
such arcane knowledge of Monty Python! It is good
to post to these international newsgroups, if only to
dispell such 'colloquial myths'!
* My apologies for my amazement, but I thought Monty
Python's appeal was limited to those English speaking
countries that were 'not America'. I had suspected the
MP humor to be 'beyond them' ( thank you for pointing
out the - ..naivety of my ways .
It's not hungry (It's merely pinin' for the Fjords). Besides You> feed bird
!!!! FROBOZZ MAGIC BOAT COMPANY !!!!> read label
Oh ye who go about saying unto each: "Hello sailor":> read book
I had never thought about how a Brit might think Americans take MontyAndrew said:* My apologies for my amazement, but I thought Monty
Python's appeal was limited to those English speaking
countries that were 'not America'. I had suspected the
MP humor to be 'beyond them' ( thank you for pointing
out the - ..naivety of my ways .
Travis said:I had never thought about how a Brit might think Americans take Monty
Python. It's not at all uncommon at a gathering/cocktail party for a
group of men (never women that I've seen) take some topic and twist it
into some MP skit or movie scene.
MP fans I know seem to cut their teeth on Holy Grail or Meaning of Life
before fully appreciating Life of Brian or episodes of MP's Flying
Circus. (Never saw Jabberwocky.)
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.