Home / MCQ Bank / Computer
Computer Operators

What is the result of the expression 10 > 5 ? 2 : 1 in Java?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • 2

Related Computer Questions

When the values in one or more attributes being used as a foreign key must exist in another set of one or more attributes in another table, we have created a(n): Which area in an Excel window allows entering values and formulas? What occurs when a result has nowhere near the number of significant digits indicated by its type. Which statement is used to specify code that should always run regardless of whether an exception occurs in C#? In Java, can a subclass access protected members (fields and methods) of its superclass?