Site icon Narayana Tutorial

Relational Operators

Relational Operators

Relational  operators ‘ >, >=, <, <= ‘

We have to apply these relational operators only for primitive data types except boolean.

We can’t apply relational operators for object references.

” narayana ” < ” narayana 123 ”   ( compile time error )

**==>Nesting of relational operators is not applicable