Beruflich Dokumente
Kultur Dokumente
what does this means while((s+ss) == null) ? (Java in General forum at JavaRanch)
Java FAQ
Recent Topics
Register / Login
Author
naved momin Ranch Hand Joined: Jul 03, 2011 Posts: 675
I like...
view plain
c opy to c lipboard
N ote: T ext c ontent in the c ode bloc ks is automatic ally word- wrapped
0 1 . 0 2 . 0 3 . 0 4 . 0 5 . 0 6 . 0 7 . 0 8 . 0 9 . 1 0 . 1 1 . 1 2 . 1 3 . 1 4 . 1 5 . 1 6 . 1 7 . 1 8 . 1 9 . 2 0 . 2 1 . 2 2 . 2 3 . 2 4 . 2 5 . 2 6 .
p u b l i cs t a t i cv o i dm a i n ( S t r i n g [ ]a r g s ){ / /T O D Oc o d ea p p l i c a t i o nl o g i ch e r e n e wA s s i n g m e n t Q u o t e s ( ) . g o ( ) ; }
1/3
www.coderanch.com/t/555411/java/java/means-ss-null
7/15/13
what does this means while((s+ss) == null) ? (Java in General forum at JavaRanch)
2 7 .
i think that the string has a null value by default ....so if i run this code what i was expecting that while loop should keep repeating and printing "hi" on the command line but that didnt happen because of the statement
view plain c opy to c lipboard print ?
N ote: T ext c ontent in the c ode bloc ks is automatic ally word- wrapped
0 1 .
w h i l e ( s + s s )= =n u l l )
now please explain me what s+ss returns or null or any different values
naved momin Ranch Hand Joined: Jul 03, 2011 Posts: 675
I like...
view plain
c opy to c lipboard
N ote: T ext c ontent in the c ode bloc ks is automatic ally word- wrapped
0 1 . 0 2 . 0 3 . 0 4 . 0 5 . 0 6 . 0 7 . 0 8 . 0 9 . 1 0 . 1 1 . 1 2 . 1 3 . 1 4 . 1 5 . 1 6 . 1 7 . 1 8 . 1 9 . 2 0 . 2 1 . 2 2 . 2 3 . 2 4 . 2 5 . 2 6 . 2 7 .
p u b l i cs t a t i cv o i dm a i n ( S t r i n g [ ]a r g s ){ / /T O D Oc o d ea p p l i c a t i o nl o g i ch e r e n e wA s s i n g m e n t Q u o t e s ( ) . g o ( ) ; } }
www.coderanch.com/t/555411/java/java/means-ss-null
2/3
7/15/13
what does this means while((s+ss) == null) ? (Java in General forum at JavaRanch)
i think that the string has a null value by default ....so if i run this code what i was expecting that while loop should keep repeating and printing "hi" on the command line but that didnt happen because of the statement
view plain c opy to c lipboard print ?
N ote: T ext c ontent in the c ode bloc ks is automatic ally word- wrapped
0 1 .
w h i l e ( s + s s )= =n u l l )
now please explain me what s+ss returns or null or any different values
i got that
Similar Threads Problem with output whats wrong in my server code ? java program run external command on Unix Static blocks Constructor
All times above are in your local time zone & format.T he current ranch time (not your local time) is Jul 15, 2013 07:53:15 .
www.coderanch.com/t/555411/java/java/means-ss-null
3/3