Chapter 7

Exploring the Basic APIs Part 2

Chapter 7 continues to explore Java's basic (language-oriented) APIs by introducing APIs that let you use reflection to obtain type information at runtime and more, manage strings, perform system activities (such as retrieving a system property value and obtaining the current time), and use threads to improve application performance.

NOTE: Chapter 7 explores basic API classes and interfaces that are located in the java.lang and java.lang.reflect packages.

Reflection API

Chapter 3 referred to reflection as a third form of runtime type identification (RTTI). Java's Reflection API lets applications learn about loaded classes, interfaces, enums (a kind of class), and annotation types (a kind of interface). ...

Get Learn Java for Android Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.