请输入您要查询的英文单词:

 

单词 ternary operator
释义
ternary operator
  • 简明释义
  • 三元运算符:在许多编程语言中使用的一个运算符,根据第三个值选择两个值中的一个。
  • 网络释义
  • 1

    ?三元运算子

    三元运算子 ( ternary operator ):对三个运算元作用,算是最少见的 运算子如下:

  • 2

    ?三元运算符

    三元运算符(ternary operator): “ : ” 2. 表达式1 表达式2 : 表达式3 3.

  • 3

    ?三目运算符

    三目运算符ternary operator):可以带三个操作数,这三个操作数用三目运算符分隔开。

短语
  • 双语例句
  • 1
    So be sure to ponder your reasons when choosing the ternary operator.
    所以在挑选三元运算符时,请务必权衡一下利弊。
  • 2
    This new operator is, in fact, a shortcut notation for the ternary operator.
    这个新操作符实际上是一个三目操作符的便捷记法。
  • 3
    For Java developers, this is exactly the way the ternary operator — the? : expression — works.
    表达式——的工作方式。
随便看

 

英汉双解词典包含3185865条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2022 Newdu.com All Rights Reserved
更新时间:2025/4/16 14:13:50