Skip to content
Sharp

Core Java · interview question

Which operator would you use to check if a product's price is greater than or equal to 100?

Multiple choiceEasychapter-1-curatedpremiumcore-javaoperators-and-expressions
Choose one answer
Answer and explanation

Correct answer

B. >=

Why

The '>=' operator is used for checking if a value is greater than or equal to another value. It combines the functionality of 'greater than' and 'equality'.

Test yourself on Core Java

A free test with instant, explained results. No account needed.

Start free test
All Core Java questions →