Take it easy Hanover.
BAL
From: "Mark Galbreath" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'"
<[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>
Subject: RE: [OT] Java Triv
You're hilarious.
not.
-Original Message-
From: Daniel Joshua [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 2:04 AM
To: 'Struts Users Mailing List'
Subject: RE: [OT] Java Trivia
if (FRIDAY[13].length != FRIDAY.size){
laugh();
}
Regards,
Daniel
-O
if (FRIDAY[13].length != FRIDAY.size){
laugh();
}
Regards,
Daniel
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Friday, 13 June, 2003 11:24 AM
To: Struts Users Mailing List
Subject: RE: [OT] Java Trivia
Well it is [FRIDAY] the 13th...
-Original Message
Well it is [FRIDAY] the 13th...
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]
Sent: Friday, 13 June 2003 01:54
To: 'Struts Users Mailing List'
Subject: RE: [OT] Java Trivia
And thanks for making it worse.
-Original Message-
From: Steven Sajous [mai
And thanks for making it worse.
-Original Message-
From: Steven Sajous [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 1:39 PM
To: Struts Users Mailing List
Subject: RE: [OT] Java Trivia
this was the worse thread I have seen here for sure.
-Original Message-
From: Mike
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 Strin
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: [
thanks.of course I haven't tried to myself.
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 11:32 AM
To: [EMAIL PROTECTED]
Subject: RE: [OT] Java Trivia
String is a final class so you can't subclass it.
David
>and here
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
t: 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( " &
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; }
f
> 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
months is an array, not a String
> -Original Message-
> From: Mark Galbreath [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 12, 2003 9:32 AM
> To: 'Struts Users Mailing List'
> Subject: RE: [OT] Java Trivia
>
>
> Here's my code - it compiles j
Jarnot Voytek Contr AU HQ/SC [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 10:02 AM
To: 'Struts Users Mailing List'
Subject: RE: [OT] Java Trivia
for( int i = 0; i < string.length; i++ ) {}
doesn't compile for me...
--
Voytek Jarnot
Quidquid latine dictum sit, altu
SC
[mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 10:02 AM
To: 'Struts Users Mailing List'
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 Messag
month is String[]
test is String
arrays have .length
String object has .length()
Kev
> -Original Message-
> From: Mark Galbreath [mailto:[EMAIL PROTECTED]
> Sent: 12 June 2003 15:32
> To: 'Struts Users Mailing List'
> Subject: RE: [OT] Java Trivia
>
>
= 0;
if( !Character.isDigit( token.nextToken().charAt( i ))) { return
false; }
i++;
}
}
-Original Message-
From: Jarnot Voytek Contr AU HQ/SC [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 10:02 AM
To: 'Struts Users Mailing List'
Subject: RE: [OT] Java T
Doesn't compile for me either.
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 10:28 AM
To: 'Struts Users Mailing List'
Subject: RE: [OT] Java Trivia
yes it will - I've been doing it all morning.
-Original Mess
yes it will - I've been doing it all morning.
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 10:00 AM
To: [EMAIL PROTECTED]
Subject: Re: [OT] Java Trivia
That won't compile. length() is a method on String not a property.
David
>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
for( int i = 0; i < st
umm... String.length() not String.length ?
-Original Message-
From: Firat TIRYAKI [mailto:[EMAIL PROTECTED]
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 Me
well, what's the message you are getting?
F.
- Original Message -
From: "Jarnot Voytek Contr AU HQ/SC" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, June 12, 2003 5:01 PM
Subject: RE: [OT] Java
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:[EMAIL PROTECTED]
> Sent: Thursday, June 12, 2003 8:46 AM
> To: 'Struts Users Mailing List'
> Subject: [O
That won't compile. length() is a method on String not a property.
David
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++ )
24 matches
Mail list logo