Index
& (bitwise AND)
& (Boolean logical AND)
&& (short-circuit AND)
*
multiplication operator
used in import statement
@ (annotation syntax)
@ tags (javadoc)
\ used for character escape sequences (backslash character constants)
| (bitwise OR)
| (Boolean logical OR)
|| (short-circuit OR)
[ ]
^ (bitwise exclusive OR)
^ (Boolean logical exclusive OR)
:
::
constructor reference syntax
method reference syntax
{ }
=
= = (relational operator)
versus equals( )
! (Boolean logical unary NOT)
!=
/
/* */
/** */
//
<
< >
diamond operator (type inference)
generic type parameter syntax
<<
<=
– >, lambda (or arrow) operator
– –
%
( )
and casts
and operator precedence
used with this
. (dot operator)
… (variable-length argument syntax)
+
addition
concatenation ...

Get Java: A Beginner's Guide, Sixth Edition, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.