Monday 29 February 2016

Ternary operator



Main features of ternary operators as follows : 

  • There are three operand.
  • It works from left to right
  • Example of ternary operator is conditional operator. Symbol of conditional operator : condition ? True_parts : False_parts 

No comments:

Post a Comment

Ads Inside Post