Stefan Ram wrote:
> Paka Small writes:
>> Poll: Is a Java Method an Instance of the Java Class
>> java.lang.reflect.Method?
> It's »method«, »instance«, and »class«;
> not »Method«, »Instance«, and »Class«.
Right on!
Case counts, Paka. Carelessness is harmful.
> The JLS3 says:
>
> »A method declares executable code that can be invoked,
> passing a fixed number of values as arguments.«, 8.4.
>
> (So, and when a method already declares something,
> what then is a »method declaration«? The declaration
> of a declaration?)
Good point, Stefan. I have to conclude that "declares" in the cited passage
means the usual English meaning, not the specific Java meaning. They should
have said, "A method comprises executable code that ..."
> JDK 1.0 and 1.1 have no reflection, so when then answer
> would be »yes«, then they would have no methods.
But really, Paka, taking a poll about what is real is stupid and pointless.
Opinion doesn't alter reality. However, the correct, factual, real answers that
you get from everyone agree with each other. What does that tell you, Paka?
It's time to start arguing that there's no train bearing down on you and to
step off the tracks, Paka.
--
Lew