Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Joyce Farrell

Rating No ratings yet

Java Programming, Ninth Edition, provides the beginning programmer with a guide to developing applications using the Java programming language. Java is popular among professional programmers because it can be used to build visually interesting graphical user interface (GUI) and Web-based applications. Java also provides an excellent environment for the beginning programmer—a student can quickly build useful programs while learning the basics of structured and object-oriented programming techniques. This textbook assumes that you have little or no programming experience. It provides a solid background in good object-oriented programming techniques and introduces terminology using clear, familiar language. The programming examples are business examples; they do not assume a mathematical background beyond high school business math. In addition, the examples illustrate only one or two major points; they do not contain so many features that you become lost following irrelevant and extraneous details. Complete, working programs appear frequently in each chapter; these examples help students make the transition from the theoretical to the practical. The code presented in each chapter also can be downloaded from the publisher’s website, so students easily can run the programs and experiment with changes to them. The student using Java Programming, Ninth Edition, builds applications from the bottom up rather than starting with existing objects. This facilitates a deeper understanding of the concepts used in object-oriented programming and engenders appreciation for the existing objects students use as their knowledge of the language advances. When students complete this book, they will know how to modify and create simple Java programs, and they will have the tools to create more complex examples. They also will have a fundamental knowledge about object-oriented programming, which will serve them well in advanced Java courses or in studying other object-oriented languages su

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
【One-Line Pitch】 A patient, business-example-driven introduction to Java for readers with little or no programming experience, teaching object-oriented thinking from the ground up so you can write, compile, and reason about your own small applications. Best for true beginners, career-changers, and students who want a structured first language before tackling advanced Java or other OO languages. 【Book Arc】 - **Opening (~0%–15%)**: Sets expectations and gets you running code immediately—programming terminology, procedural vs. object-oriented thinking, classes/objects/encapsulation, inheritance and polymorphism, then writing, compiling, and debugging a first console and GUI application. - **Early (~15%–35%)**: Builds the data and method foundation—variables, constants, scope, primitive types (integer, boolean, floating-point, char), keyboard and dialog input via Scanner and JOptionPane, arithmetic, type conversion, and constructing methods with parameters and return values. - **Middle (~35%–60%)**: Moves into program logic and text handling—decision and repetition structures, loop performance considerations, then characters, String/StringBuilder/StringBuffer, and arrays including arrays of objects, parallel arrays, and searching. - **Late (~60%–85%)**: Extends into larger-scale structure and persistence—file and path handling, streams and buffers, sequential and random-access data files, and an introduction to Swing components, layout managers, and event-driven programming. - **Ending (~85%–100%)**: Wraps up with JavaFX coverage, appendices (platform setup, data representation, output formatting, random numbers, Javadoc), running case problems, glossary, and downloadable student files for every figure. 【Key Takeaways】 - **Objects appear from Chapter 1, not as an afterthought** (Opening): the book deliberately introduces the object-oriented paradigm earlier than many competing texts, so you absorb encapsulation and inheritance while still learning syntax. - **You build applications bottom-up rather than assembling existing objects** (Opening): this is the book's stated pedagogy—constructing classes yourself first makes later library reuse more meaningful. - **Examples are business-oriented and deliberately narrow** (Early): each illustrates only one or two major points and assumes no math beyond high school business math, keeping cognitive load low. - **Complete working programs recur throughout** (Early): the theory-to-practice transition is handled by frequent runnable examples, with 200+ downloadable files so you can run and modify code. - **Input and repetition are treated as the backbone of logic** (Middle): Chapters 5–6 frame decisions and loops as essential to any useful program, not just Java specifics. - **Strings and arrays get dedicated, practical treatment** (Middle): String comparison pitfalls, empty vs. null strings, StringBuilder/StringBuffer, and parallel-array searching are covered as real working concerns. - **File I/O and GUI are the bridge to real applications** (Late): paths, streams, sequential vs. random-access files, then Swing/event-driven programming and JavaFX show how console skills scale up. - **Independent research is an explicit goal** (Ending): you are repeatedly directed to the Java website to investigate classes and methods, reflecting that languages evolve and professionals must keep looking things up. 【Reading Tips】 - **Deep-read Chapters 1–4**: the data/class/object/method interaction is the conceptual core; skimming here will make everything later feel arbitrary. - **Do the "You Do It" exercises and running cases**: they are designed for self-study and online learners, and the two per-chapter case problems grow across the semester—treat them as your real practice track. - **Skim the loop-performance micro-optimizations** (loop fusion, comparing to zero) on a first pass; they matter more once you write performance-sensitive code. - **Use the appendices as reference, not reading**: platform setup, data representation, output formatting, random numbers, and Javadoc are lookup material. - **Run and break the downloaded figure files**: modifying working code is the fastest way to convert reading into understanding. 【Coverage Limits】 This guide is synthesized from front matter, table of contents, and preface excerpts; specific chapter content, exercises, and code details beyond those listings are not covered here.
Page 16
object-oriented programming, which will serve them well in advanced Java courses or in studying other object-oriented languages su JAVA™ PROGRAMMING JOYCE FA...
View in text
Page 7
45 v 97070_fm_hr_i-xxiv.indd 5 27/02/18 7:34 pm
View in text
Excerpt 3
s 127 Chaining Method Calls 129 97070_fm_hr_i-xxiv.indd 6 27/02/18 7:34 pm vii Learning About Classes and Objects 133 Creating a Class 136 Creating Instance...
View in text
Page 9
t e n t s 97070_fm_hr_i-xxiv.indd 7 27/02/18 7:34 pm
View in text
Page 12
506 97070_fm_hr_i-xxiv.indd 10 27/02/18 7:34 pm
View in text
Page 13
n t e n t s 97070_fm_hr_i-xxiv.indd 11 27/02/18 7:34 pm
View in text
Page 16
s and introduces terminology using clear, familiar language. The programming examples are business examples; they do not assume a mathematical background bey...
View in text
Page 20
dent Files: Files are provided for every figure in the text. Instructors can use the files to customize PowerPoint slides, illustrate quizzes, or create hand...
View in text
Tags
AI categories
JavaProgramming LanguageEducation
ISBN: 1337397075
Publisher: Cengage Learning
Publish Year: 2019
Language: English
Pages: 898
File Format: PDF
File Size: 11.3 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…