okay, okay, let it rest. I feel st00pid enough already!
-----Original Message-----
From: Mike Whittaker [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 10:51 AM
To: Struts Users Mailing List
Subject: RE: [OT] Java Trivia
> if( test.equals( " " )) { return false; }
for( int i = 0; i < months.length; i++ ) {
if( test.equals( months[ i ] )){
I see no 'string.length'
If you are refering to the months.length, then this is a language
convenience for determining the length of an array, which 'months' surely is
since you have 'months[ i ]'
In the same way ""+27 is a language convenience
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]