Chapter 3Operators

OCP exam objectives covered in this chapter:

  • images  Using Operators and Decision Constructs
    • Use Java operators including the use of parentheses to override operator precedence
  • images  Working With Java Primitive Data Types and String APIs
    • Declare and initialize variables (including casting and promoting primitive data types)

images In the previous chapter, we talked a lot about defining variables, but what can you do with a variable once ...

Get OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide 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.