Seeking to learn quickly how to program in Java without prior experience? This Guide to Java presents a focused and accessible primer on the fundamentals of Java programming, with extensive use of illustrative examples and hands-on exercises.
Addressing the need to acquire a good working model of objects in order to avoid possible misconceptions, the text introduces the core concepts of object-oriented programming at an early stage, supported by the use of contour diagrams. Each chapter has one or more complete programs to illustrate the various ideas presented, and to help readers learn how to write programs on their own. Chapter summaries and practical exercises are also included to help the reader to review their progress and practice their skills.
Topics and features:
Provides an introduction to variables, input/output, and arithmetic operationsDescribes objects and contour diagrams, explains selection structures, and demonstrates how iteration structures workDiscusses object-oriented concepts such as overloading and classes methods, and introduces string variables and processingIllustrates arrays and array processing, and examines recursionExplores inheritance and polymorphism, and investigates elementary filesPresents a primer on graphical input/output, discusses elementary exception processing, and presents the basics of JavadocIncludes exercises at the end of each chapter, with selected answers in an appendix, and a glossary of key termsProvides additional supplementary information at an associated website
This concise and easy-to-follow textbook/guide is ideal for students in an introductory programming course. It is also suitable as a self-study guide for both practitioners and academics.