Chapter 10. Fundamental Classes

Exam Objectives

  • Write code using the following methods of the java.lang.Math class: abs(), ceil(), floor(), max(), min(), random(), round(), sin(), cos(), tan(), sqrt().

  • Describe the significance of the immutability of String objects.

  • Describe the significance of wrapper classes, including making appropriate selections in the wrapper classes to suit specified behavior requirements, stating the result of executing a fragment of code that includes an instance of one of the wrapper classes, and writing code using the following methods of the wrapper classes (e.g., Integer, Double, etc.):

    • doubleValue()

    • floatValue()

    • intValue()

    • longValue()

    • parseXxx()

    • getXxx()

    • toString()

    • toHexString()

Supplementary Objectives

  • Understand the ...

Get Programmer's Guide to Java™ Certification, A: A Comprehensive Primer, Second 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.