Chapter 13
I/O,
Applets, and Other Topics
This chapter introduces two
of Java’s most important packages: io
and applet. The io package supports Java’s basic I/O (input/output) system,
including file I/O. The applet
package supports applets. Support for both I/O and applets comes from Java’s
core API libraries, not from language keywords. For this reason, an in-depth
discussion of these topics is found in Part II of this book, which examines
Java’s API classes. This chapter discusses the foundation of these two subsystems
so that you can see how they are integrated into the Java language and how they
fit into the larger context of the Java programming and execution environment.
This chapter also examines the try-with-resources
statement and the last of Java’s keywords: transient,
volatile, instanceof, native, strictfp, and assert. It concludes by discussing static import, describing
another use for the this keyword,
and introducing compact profiles (a feature added by JDK 8).
Related Topics
Privacy Policy, Terms and Conditions, DMCA Policy and Compliant
Copyright © 2018-2023 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.