Java Fundamentals For Android Development
Java Fundamentals For Android Development
Lesson 1
Java Overview
Operators
Equality and Relational Operators
The equality and relational operators determine
if one operand is greater than, less than, equal
to, or not equal to another operand.
== equal to
!= not equal to
> greater than
>= greater than or equal to
< less than
<= less than or equal to
Conditionals Operators
The && and || operators perform
Conditional-AND and Conditional-OR operations
on two boolean expressions.
&& Conditional-AND
|| Conditional-OR
Conditionals Operators
If you want to evaluate each member of
expression you should use:
& Conditional-AND
| Conditional-OR