Appendix E
More Java Keywords
There are six Java keywords not discussed elsewhere in this book. They are:
● transient
● volatile
● instanceof
● native
● strictfp
● assert
These keywords are most often used in programs more advanced than those found in this book. However, an overview of each is presented so that you will know their purpose. In addition, another form of this is described.
The transient and volatile Modifiers
The transient and volatile keywords are type modifiers that handle somewhat specialized situations. When an instance variable is declared as transient, then its value need not persist when an object is stored. ...
Get Java: A Beginner's Guide, Eighth Edition, 8th 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.