A

Admin • 828.03K Points
Coach

Q. What should be expression1 evaluate to in using ternary operator as in this line?

Code:
expression1 ? expression2 : expression3
  • (A) Boolean
  • (B) Floating – point numbers
  • (C) Integer
  • (D) float
  • Correct Answer - Option(C)
  • Views: 18
  • Filed under category Java
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.