Java Tutorial -15 Operators - Conditional Operator - Study Viral October 05, 2017 Java Tutorials No comments Java Tutorial -15 Operators - Conditional Operator - Study Viral www.Studyviral.inConditional operator (?:) operates on three operands.The symbol "?" placed between the first and the second operand , and " : " is inserted between the second and third operand.Result = Expr1 ? Expr2 : Expr3 ;If expr1 has value true, the operator returns a result expr2 .If expr1 has value false, the operator returns a result expr3 . www.studyviral.in info@studyviral.in Share This: Facebook Twitter Google+ Stumble Digg Email ThisBlogThis!Share to XShare to Facebook
0 comments:
Post a Comment