Among the following, which one is a ternary operator?
Home | Discussion ForumAmong the following, which one is a ternary operator?
+
:
–
?:
Answer : D
View More Related Question
1) Consider the following snippet code
var string1 = ”123”;
var intvalue = 123;
alert( string1 + intvalue );
The result would be
2) What kind of an expression is “new Point(2,3)”?
Primary Expression
Object Creation Expression
Invocation Expression
Constructor Calling Expression
View Answer
3) Initialization of variable can be done by writing _____ operator in between variable name and operand value.
4) Among the following, which one is a ternary operator?
5) Which of the operator is used to test if a particular property exists or not?