Aspiring Android developers need to acquire a solid understanding of foundational Java APIs. You have already encountered a few of these APIs, such as the
String classes and the
Throwable class hierarchy. This chapter introduces you to additional language-oriented (basic) APIs pertaining to math, packages, primitive types, and the garbage collector.
NOTE: Chapter 6 explores basic API classes and interfaces that are located in the
Chapter 2 presented Java's
% operators for performing basic arithmetic on primitive type values. Java also provides classes for performing trigonometry and other advanced math operations, ...