struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Witbeck, Shane" <Shane.Witb...@bankofamerica.com>
Subject RE: [OT] Java Trivia
Date Thu, 12 Jun 2003 14:10:17 GMT
umm... String.length() not String.length ?


-----Original Message-----
From: Firat TIRYAKI [mailto:firat@pleksus.com.tr]
Sent: Thursday, June 12, 2003 10:07 AM
To: Struts Users Mailing List
Subject: Re: [OT] Java Trivia


well, what's the message you are getting?

F.

----- Original Message ----- 
From: "Jarnot Voytek Contr AU HQ/SC" <Voytek.Jarnot@MAXWELL.AF.MIL>
To: "'Struts Users Mailing List'" <struts-user@jakarta.apache.org>
Sent: Thursday, June 12, 2003 5:01 PM
Subject: RE: [OT] Java Trivia


> for( int i = 0; i < string.length; i++ ) {}
> 
> doesn't compile for me...
> 
> --
> Voytek Jarnot
> Quidquid latine dictum sit, altum viditur.
> 
> 
> > -----Original Message-----
> > From: Mark Galbreath [mailto:mark_galbreath@qat.com]
> > Sent: Thursday, June 12, 2003 8:46 AM
> > To: 'Struts Users Mailing List'
> > Subject: [OT] Java Trivia
> > 
> > 
> > Anybody know why the length of a String is a property of the 
> > String when
> > used as a logical qualifier in a for{} block but a function 
> > of the String in
> > a conditional if{} statement?
> > 
> > for( int i = 0; i < string.length; i++ ) {}
> > 
> > if( string.length() != 4 ) {}
> > 
> > 
> > Mark
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message