This book is a comprehensive guide to the Java language, describing its syntax, keywords, and fundamental programming principles. Significant portions of the Java API library are also examined. The book is divided into four parts, each focusing on a different aspect of the Java programming environment.
Part I presents an in-depth tutorial of the Java language. It begins with the basics, including such things as data types, control statements, and classes. Part I also discusses Java’s exception-handling mechanism, multithreading subsystem, packages, and interfaces. Of course, Java’s newer features, such as generics, annotations, enumerations, and autoboxing are covered in detail.
Part II examines key aspects of Java’s standard API library. Topics include strings, I/O, networking, the standard utilities, the Collections Framework, applets, GUI-based controls, imaging, and concurrency.
Part III looks at three important Java technologies: Java Beans, Swing, and servlets.
Part IV contains two chapters that show examples of Java in action. The first chapter develops several applets that perform various popular financial calculations, such as computing the regular payment on a loan or the minimum investment needed to withdraw a desired monthly annuity. This chapter also shows how to convert those applets into servlets. The second chapter develops a download manager that oversees the downloading of files. It includes the ability to start, stop, and resume a transfer.