skip to main
|
skip to sidebar
Testing Blogging
Monday, January 4, 2010
What is this : a string + a boolean in the place of the ternary condition?
String s = "DIAMOND";
boolean red = true;
s += red
? ":red" : ":black";
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
▼
2010
(3)
▼
January
(3)
InnerClass
No clue!!!
What is this : a string + a boolean in the place o...
►
2009
(3)
►
September
(1)
►
April
(2)
►
2007
(2)
►
February
(1)
►
January
(1)
About Me
Meredithjohns
:D
View my complete profile
No comments:
Post a Comment