Skip to Content
Object-Oriented Data Structures Using Java, 4th Edition
book

Object-Oriented Data Structures Using Java, 4th Edition

by Nell Dale, Daniel T. Joyce, Chip Weems
August 2016
Intermediate to advanced content levelIntermediate to advanced
694 pages
19h 29m
English
Jones & Bartlett Learning
Content preview from Object-Oriented Data Structures Using Java, 4th Edition

Appendix B: Operator Precedence

In the following table, the operators are grouped by precedence level (highest to lowest), and a horizontal line separates each precedence level from the next-lower level.

Precedence (highest to lowest)

Operator Assoc.* Operand Type(s) Operation Performed
. LR object, member object member access
[] LR array, int array element access
( args ) LR method, arglist method invocation
++, -- LR variable post-increment, decrement
++, -- RL variable pre-increment, decrement
+, - RL number unary plus, unary minus
~ RL integer bitwise complement
! RL boolean boolean NOT
new RL class, arglist object creation
( type ) RL type, any cast (type conversion)
*, /, % LR number, number multiplication, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java How To Program, Late Objects, 11th Edition

Java How To Program, Late Objects, 11th Edition

Paul J. Deitel, Harvey M. Deitel

Publisher Resources

ISBN: 9781284089103