this was the worse thread I have seen here for sure.

-----Original Message-----
From: Mike Jasnowski [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 12:04 PM
To: Struts Users Mailing List
Subject: RE: [OT] Java Trivia


Or "string" could have been some other class than String, I don't recall
seeing the declaration shown in the original post

-----Original Message-----
From: Kandi Potter [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 11:26 AM
To: Struts Users Mailing List
Subject: RE: [OT] Java Trivia


and here I thought it was a trick question, where you had subclassed String
as string class and added a public member length.   ......

-----Original Message-----
From: Mark Galbreath [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 11:17 AM
To: 'Struts Users Mailing List'
Subject: RE: [OT] Java Trivia


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]



---------------------------------------------------------------------
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to