当前位置:首页 » 翻译 
  • 匿名
关注:1 2013-05-23 12:21

求翻译:Another conditional operator is ?:, which can be thought of as shorthand for an if-then-else statement (discussed in the Control Flow Statements section of this lesson). This operator is also known as the ternary operator because it uses three operands. In the following example, this operator should be read as: "If som是什么意思?

待解决 悬赏分:1 - 离问题结束还有
Another conditional operator is ?:, which can be thought of as shorthand for an if-then-else statement (discussed in the Control Flow Statements section of this lesson). This operator is also known as the ternary operator because it uses three operands. In the following example, this operator should be read as: "If som
问题补充:

  • 匿名
2013-05-23 12:21:38
另一个条件运算符是: ? ,它可以被看作是速记一个if-then -else语句(在本节课的流程控制语句中讨论) 。
  • 匿名
2013-05-23 12:23:18
另一名有条件操作员是? :可以被重视作为的速记,如果然后-声明(谈论在这个教训的控制流声明部分)。因为它使用三个操作数,亦称这名操作员是三部组成的操作员。在以下例子中,这名操作员应该读如下:“如果someCondition是真实的,赋予value1的价值发生。否则,赋予value2的价值发生”。
  • 匿名
2013-05-23 12:24:58
另一名有条件操作员是? :可以被重视作为速记为,如果然后-在这个 (教训的控制流声明部分谈论的声明)。 因为它使用三个操作数,这名操作员是亦称三部组成的操作员。 在以下例子,这名操作员应该读如下: “如果someCondition是真实的,赋予value1的价值发生。 否则,赋予value2的价值发生。“
  • 匿名
2013-05-23 12:26:38
另外一个条件运算符是?:,这可以被认为作为 (这节课的控制流语句节中讨论) 如果-那-else 语句的简写形式。此运算符也称为是三元运算符,因为它使用三个操作数。在以下示例中,此运算符应改为:"如果 someCondition 为 true,将分配 value1 结果的值。否则,将值分配 value2 导致的"。
  • 匿名
2013-05-23 12:28:18
有条件的另一名操作员是?:,为一份如果当时的另外的声明可能被看作速记 ( 讨论在这节课的控制流动声明部分 )。这名操作员也称为燕欧的操作员因为它使用三个操作数。在以下例子中,这名操作员应该是阅读如:“如果 someCondition 是真的,将 value1 的价值分配给结果。否则,将 value2 的价值分配给结果。”
 
 
网站首页

湖北省互联网违法和不良信息举报平台 | 网上有害信息举报专区 | 电信诈骗举报专区 | 涉历史虚无主义有害信息举报专区 | 涉企侵权举报专区

 
关 闭