Select the correct answerWhich of these is returned by “greater than”, “less than” and “equal to” operators?Optionsboolean valuesfloat valuesinteger valuesNone of the mentioned
Question
Select the correct answerWhich of these is returned by “greater than”, “less than” and “equal to” operators?Optionsboolean valuesfloat valuesinteger valuesNone of the mentioned
Solution
The correct answer is "boolean values". These operators are used for comparison and they return either true or false, which are boolean values.
Similar Questions
Select the correct answerWhich of the below data type doesn’t support overloaded methods for +,-,* and /?OptionsdoublefloatintBigDecimal
Select the correct answerLiteral can be of which of these data types?Optionsfloatintegerbooleanall of the mentioned
Select the correct answerWhat is the return value of trunc()?OptionsintfloatNonebool
Select the correct answerWhat will be the data type of x after the following statement?x = 1/2OptionsListIntegerStringFloat
Select the correct answerIf an expression contains double, int, float, long, then the whole expression will be promoted into which of these data types?Optionsintlongdoublefloat
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.