This book presents a focused and accessible primer on the fundamentals of Java programming, with extensive use of examples and hands-on exercises. Topics and features: provides an introduction to variables, input/output and arithmetic operations; describes objects and contour diagrams, explains selection structures, and demonstrates how iteration structures work; discusses object-oriented concepts such as overloading and classes methods, and introduces string variables and processing; illustrates arrays and array processing and examines recursion; explores inheritance and polymorphism and investigates elementary files; presents a primer on graphical input/output, discusses elementary exception processing, and presents the basics of Javadoc; includes exercises at the end of each chapter, with selected answers in an appendix and a glossary of key terms; provides additional supplementary information at an associated website.
Inhaltsverzeichnis
Variables, Input / Output and Arithmetic. - Objects: An Introduction. - Selection Structures. - Iteration Structures. - Objects: Revisited. - Strings. - Arrays. - Recursion. - Objects: Inheritance and Polymorphism. - Elementary File Input and Output. - Simple Graphical Input and Output. - Exceptions. - Java doc Comments. - Glossary. - Answers to Selected Exercises.