ISBN: 978-81-7319-414-6
E-ISBN: Publication Year: 2001
Pages: 794
Binding: Paper Back Dimension: 185mm x 240mm Weight: 1100
Textbook
About the book
This book introduces objects beginning in Chapter 2 with an examination of the String class and aspects of its interface. The introduction of new library classes and their design features follows this material with a focus on event-driven input and output. The authors step carefully through the process of declaring a reference variable, instantiating an object and assigning it to the variable. Students gradually develop a complete and deep understanding of what an object is, how it works, and what constitutes a well-designed class interface. When students finish this book they are ready to build their own significant and realistic classes
Key Features
Real Java I/O (input/output) classes rather than a package (GUI or AVI) are used. • Students who use this text will be able to write real Java programs, using the real Java library. • Complete object-oriented design strategies geared to the beginning student are presented and used throughout the case studies. • Sound problem-Solving techniques, such as CRC cards that model the real-world, are used.
Table of Contents
Preface / Overview of Programming and Problem Solving / Java Syntax and Semantics, and the Program Entry Process / Event-Driven Output / Numeric Types and Expressions / Event-Driven Input and Software Design Strategies / Conditions, Logical Expressions, and Selection Control Structures / Classes and Methods / Inheritance, Polymorphism, and Scope / File I / O and Looping / Additional Control Structures and Exceptions / One-Dimensional Arrays / Array-Based Lists / Multidimensional Arrays and Numeric Computation / Recursion / Appendix A: Java Reserved Words / Appendix B: Operator Precedence / Appendix C:\Primitive Data Types / Appendix D: / ASCII Subset of Unicode / Appendix E: Decimal Format Type / Appendix F: Program Style, Formatting, and Documentation / Appendix G: Applets / Glossary / Answers to Selected Exercises / Index