Friday, October 06, 2006
?: Shorthand for if-then statement
Example
Object = (Service != null)
? serviceobj.setValue(10)
: serviceobj = new ServiceClass();
Related Posts :
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment