Instruction Manual for Java An Introduction to Problem Solving and Programming 8th edition by Walter Savitch, Kenrick Mock – Ebook PDF Instant Download/Delivery: 0134459448 , 9780134459448
Full download Java An Introduction to Problem Solving and Programming 8th edition after payment

Product details:
ISBN 10: 0134459448
ISBN 13: 9780134459448
Author: Walter Savitch, Kenrick Mock
For courses in introductory Computer Science courses using Java, and other introductory programming courses in Computer Science, Computer Engineering, CIS, MIS, IT, and Business. A Concise, Accessible Introduction to Java Programming Ideal for a wide range of introductory computer science applications, Java: An Introduction to Problem Solving and Programming, 8th Edition introduces readers to object-oriented programming and important concepts such as design, testing and debugging, programming style, interfaces and inheritance, and exception handling. A concise, accessible introduction to Java, the text covers key Java language features in a manner that resonates with introductory programmers. Objects are covered early and thoroughly in the text. The author’s tried-and-true pedagogy incorporates numerous case studies, programming examples, and programming tips, while flexibility charts and optional graphics sections allow readers to review chapters and sections based on their needs. This 8th Edition incorporates new examples, updated material, and revisions.
Java An Introduction to Problem Solving and Programming 8th Table of contents:
1 Introduction to Computers and Java
Introduction
Objectives
Prerequisites
1.1 Computer Basics
Hardware and Memory
Programs
Programming Languages, Compilers, and Interpreters
Java Bytecode
Class Loader
Self-Test Questions
1.2 A Sip of Java
History of the Java Language
Applications and Applets
A First Java Application Program
Examples:
Self-Test Questions
Writing, Compiling, and Running a Java Program
Self-Test Questions
1.3 Programming Basics
Object-Oriented Programming
Algorithms
Self-Test Questions
Testing and Debugging
Self-Test Questions
Software Reuse
1.4 Graphics Supplement
A Sample JavaFX Application
Size and Position of Figures
Drawing Ovals and Circles
Syntax
Drawing Arcs
Syntax
Self-Test Questions
Chapter Summary
Exercises
Practice Programs
Programming Projects
Answers to Self-Test Questions
2 Basic Computation
Objectives
Prerequisites
2.1 Variables and Expressions
Variables
Syntax
Examples
Data Types
Java Identifiers
Assignment Statements
Syntax
Example
Syntax
Examples
Simple Input
Simple Screen Output
Constants
Named Constants
Syntax
Examples
Assignment Compatibilities
Type Casting
Syntax
Examples
Self-Test Questions
Arithmetic Operators
Parentheses and Precedence Rules
Specialized Assignment Operators
Self-Test Questions
Self-Test Question
Increment and Decrement Operators
More About the Increment and Decrement Operators
Self-Test Question
2.2 The Class String
String Constants and Variables
Concatenation of Strings
Example
String Methods
String Processing
Escape Characters
The Unicode Character Set
Self-Test Questions
2.3 Keyboard and Screen I/O
Screen Output
Syntax
Examples
Keyboard Input
Syntax
Examples
Other Input Delimiters (Optional)
Formatted Output with printf (Optional)
Self-Test Questions
2.4 Documentation and Style
Meaningful Variable Names
Comments
Indentation
Using Named Constants
Self-Test Questions
2.5 Graphics Supplement
Style Rules Applied to a JavaFx Application
Introducing the Class JOptionPane
Syntax For Input
Example
Syntax For Output
Example
Self-Test Questions
Reading Input as Other Numeric Types
Chapter Summary
Exercises
Practice Programs
Programming Projects
Answers to Self-Test Questions
3 Flow of Control: Branching
Objectives
Prerequisites
3.1 The if-else Statement
The Basic if-else Statement
Syntax (Basic Form)
Example
Syntax (No else Part)
Example
Compound Statement Alternatives
Boolean Expressions
Syntax
Example
Syntax
Example
Syntax
Example
Comparing Strings
Syntax
Example
Self-Test Questions
Nested if-else Statements
Multibranch if-else Statements
Syntax
Example
Self-Test Questions
The Conditional Operator (Optional)
The exit Method
3.2 The Type boolean
Boolean Variables
Precedence Rules
Input and Output of Boolean Values
Self-Test Questions
3.3 The switch Statement
Syntax
Example
Self-Test Questions
Enumerations
3.4 Graphics Supplement
Specifying a Drawing Color
Example
Self-Test Questions
A Dialog Box for a Yes-or-No Question
Syntax
Example
Self-Test Question
Chapter Summary
Exercises
Practice Programs
Programming Projects
Answers to Self-Test Questions
4 Flow of Control: Loops
Objectives
Prerequisites
4.1 Java Loop Statements
The while Statement
Syntax
Example
Example
The do-while Statement
Syntax
Example
Example
Algorithm for roach population program (rough draft)
Algorithm for roach population program
Self-Test Questions
The for Statement
Syntax
Example
Declaring Variables Within a for Statement
Using a Comma in a for Statement (Optional)
Self-Test Questions
The for-each Statement
4.2 Programming with Loops
The Loop Body
Initializing Statements
Controlling the Number of Loop Iterations
Algorithm for the store’s computer program
The break Statement and continue Statement in Loops (Optional)
Self-Test Questions
Loop Bugs
Tracing Variables
Assertion Checks
Syntax
Example
Self-Test Questions
4.3 Graphics Supplement
Drawing Text
Syntax
Example
Syntax
Example
Self-Test Questions
Chapter Summary
Exercises
Practice Programs
Programming Projects
Answers to Self-Test Questions
5 Defining Classes and Methods
Objectives
Prerequisites
5.1 Class and Method Definitions
Class Files and Separate Compilation
Instance Variables
Methods
Defining void Methods
Defining Methods That Return a Value
Syntax
Examples
The Keyword this
Self-Test Questions
Local Variables
Blocks
Parameters of a Primitive Type
Syntax
Syntax
Examples
Self-Test Questions
5.2 Information Hiding and Encapsulation
Information Hiding
Precondition and Postcondition Comments
The public and private Modifiers
Accessor Methods and Mutator Methods
Self-Test Questions
Methods Calling Methods
Self-Test Questions
Encapsulation
Automatic Documentation with javadoc
UML Class Diagrams
Self-Test Questions
5.3 Objects and References
Variables of a Class Type
Defining an equals Method for a Class
Boolean-Valued Methods
Self-Test Questions
Parameters of a Class Type
Self-Test Questions
5.4 Graphics Supplement
The GraphicsContext Class
Self-Test Questions
Adding Labels to a JavaFX Application
Chapter Summary
Exercises
Practice Programs
Programming Projects
Answers to Self-Test Questions
6 More About Objects and Methods
Objectives
Prerequisites
6.1 Constructors
Defining Constructors
Examples
Calling Methods from Constructors
Self-Test Questions
Calling a Constructor from Other Constructors (Optional)
Example
6.2 Static Variables and Static Methods
Static Variables
Static Methods
Self-Test Questions
Dividing the Task of a main Method into Subtasks
Adding a main Method to a Class
The Math Class
Self-Test Questions
Wrapper Classes
Self-Test Questions
6.3 Writing Methods
Decomposition
Addressing Compiler Concerns
Testing Methods
Self-Test Questions
6.4 Overloading
Overloading Basics
Overloading and Automatic Type Conversion
Overloading and the Return Type
Self-Test Questions
Self-Test Questions
6.5 Information Hiding Revisited
Privacy Leaks
Self-Test Question
6.6 Enumeration as a Class
Self-Test Question
6.7 Packages
Packages and Importing
Syntax for a Class in a Package
Examples
Syntax
Examples
Package Names and Directories
Examples
Name Clashes
Self-Test Questions
6.8 Graphics Supplement
Adding Buttons
Adding Icons
Self-Test Question
Chapter Summary
Exercises
Practice Programs
Programming Projects
Answers to Self-Test Questions
7 Arrays
Objectives
Prerequisites
7.1 Array Basics
Creating and Accessing Arrays
Array Details
Syntax
Examples
The Instance Variable length
More About Array Indices
Initializing Arrays
Self-Test Questions
7.2 Arrays in Classes and Methods
Self-Test Questions
Indexed Variables as Method Arguments
Entire Arrays as Arguments to a Method
Syntax
Examples
Arguments for the Method main
Array Assignment and Equality
Methods That Return Arrays
Syntax
Example
Examples
Self-Test Questions
7.3 Programming with Arrays and Classes
Self-Test Questions
Partially Filled Arrays
Self-Test Questions
7.4 Sorting and Searching Arrays
Selection Sort
Algorithm for a selection sort of an array
Other Sorting Algorithms
Self-Test Questions
Searching an Array
7.5 Multidimensional Arrays
Multidimensional-Array Basics
Syntax
Examples
Multidimensional-Array Parameters and Returned Values
Syntax
Examples
Java’s Representation of Multidimensional Arrays
Self-Test Questions
Ragged Arrays (Optional)
7.6 Graphics Supplement
Layout Panes
The HBox Layout Pane
The StackPane Layout
The FlowPane Layout
The GridPane Layout
The BorderPane Layout
Text Areas, Text Fields, and Combining Layouts
Examples
Examples
Self-Test Questions
Drawing Polygons
Syntax
Examples
Syntax
Example
Syntax
Example
Self-Test Question
Chapter Summary
Exercises
Practice Programs
Programming Projects
Answers to Self-Test Questions
8 Inheritance, Polymorphism, and Interfaces
Objectives
Prerequisites
8.1 Inheritance Basics
Derived Classes
Syntax
Example:
Overriding Method Definitions
Overriding Versus Overloading
The final Modifier
Private Instance Variables and Private Methods of a Base Class
UML Inheritance Diagrams
Self-Test Questions
8.2 Programming with Inheritance
Constructors in Derived Classes
Example
The this Method—Again
Calling an Overridden Method
Syntax
Example
Another Way to Define the equals Method in Undergraduate
Type Compatibility
Self-Test Questions
The Class Object
Self-Test Questions
A Better equals Method
8.3 Polymorphism
Dynamic Binding and Inheritance
Dynamic Binding with toString
Self-Test Questions
8.4 Interfaces and Abstract Classes
Class Interfaces
Java Interfaces
Syntax
Example
Implementing an Interface
An Interface as a Type
Self-Test Questions
Extending an Interface
Self-Test Questions
Self-Test Questions
Abstract Classes
Self-Test Questions
8.5 Graphics Supplement
Event-Driven Programming
Event Handling in a Separate Class
Event Handling in the Main GUI Application Class
Event Handling in an Anonymous Inner Class
Self-Test Questions
Chapter Summary
Exercises
Practice Programs
Programming Projects
Answers to Self-Test Questions
9 Exception Handling
Objectives
Prerequisites
9.1 Basic Exception Handling
Exceptions in Java
Syntax
Example
Self-Test Questions
Predefined Exception Classes
Self-Test Questions
9.2 Defining Your Own Exception Classes
Guidelines
Example
Self-Test Questions
9.3 More About Exception Classes
Declaring Exceptions (Passing the Buck)
Syntax
Example
Kinds of Exceptions
Errors
Multiple Throws and Catches
Self-Test Questions
The finally Block
Rethrowing an Exception (Optional)
Self-Test Questions
Self-Test Questions
9.4 Graphics Supplement
Additional User Interface Controls and Shapes
Images and Shapes
Handling Mouse Events
The Timeline Class
Self-Test Questions
Chapter Summary
Exercises
Practice Programs
Programming Projects
Answers to Self-Test Questions
10 Streams, File I/O, and Networking
Objectives
Prerequisites
10.1 An Overview of Streams and File I/O
The Concept of a Stream
Why Use Files for I/O?
Text Files and Binary Files
Self-Test Questions
10.2 Text-File I/O
Creating a Text File
Syntax
Example
Appending to a Text File
Syntax
Example
Self-Test Questions
Reading from a Text File
Syntax
Example
Self-Test Questions
10.3 Techniques for Any File
The Class File
Using Path Names
Methods of the Class File
Example
Self-Test Question
Defining a Method to Open a Stream
10.4 Basic Binary-File I/O
Creating a Binary File
Writing Primitive Values to a Binary File
Syntax
Example
Self-Test Questions
Writing Strings to a Binary File
Some Details About writeUTF
Reading from a Binary File
Syntax
Example
Self-Test Questions
The Class EOFException
Self-Test Questions
10.5 Binary-File I/O with Objects and Arrays
Binary-File I/O with Objects of a Class
Some Details of Serialization
Array Objects in Binary Files
Self-Test Questions
10.6 Network Communication with Streams
Self-Test Questions
10.7 Graphics Supplement
Chapter Summary
Exercises
Practice Programs
Programming Projects
Answers to Self-Test Questions
11 Recursion
Objectives
Prerequisites
11.1 The Basics of Recursion
How Recursion Works
Infinite Recursion
Self-Test Questions
Recursive Methods Versus Iterative Methods
Recursive Methods That Return a Value
Self-Test Questions
11.2 Programming with Recursion
Self-Test Question
Self-Test Questions
Self-Test Questions
11.3 Graphics Supplement
Lambda Functions and Event Handlers
Self-Test Question
Chapter Summary
Exercises
Practice Programs
Programming Projects
Answers to Self-Test Questions
12 Dynamic Data Structures and Generics
Objectives
Prerequisites
12.1 Array-Based Data Structures
The Class ArrayList
Creating an Instance of ArrayList
Syntax
Examples
Using the Methods of ArrayList
Self-Test Questions
Parameterized Classes and Generic Data Types
Self-Test Questions
12.2 The Java Collections Framework
The Collection Interface
The Class HashSet
The Map Interface
The Class HashMap
Self-Test Questions
12.3 Linked Data Structures
The Class LinkedList
Self-Test Question
Linked Lists
Implementing the Operations of a Linked List
Self-Test Questions
A Privacy Leak
Inner Classes
Node Inner Classes
Iterators
Self-Test Questions
The Java Iterator Interface
Exception Handling with Linked Lists
Self-Test Questions
Variations on a Linked List
Other Linked Data Structures
12.4 Generics
The Basics
Example
Example
Self-Test Questions
12.5 Graphics Supplement
Building JavaFX Applications with the Scene Builder
Self-Test Questions
Where to Go from Here
Chapter Summary
Exercises
Practice Programs
Programming Projects
Answers to Self-Test Questions
Appendix 1 Getting Java
Appendix 2 Running Applets
Appendix 3 Protected and Package Modifiers
Appendix 4 The DecimalFormat Class
Appendix 5 Javadoc
Appendix 6 Differences Between C++ and Java
Appendix 7 Unicode Character Codes
Appendix 8 Introduction to Java 8 Functional Programming
Appendix 9 The Iterator Interface
Appendix 10 Cloning
Appendix 11 Java Reserved Keywords
Credits
Online Chapters:
Index
People also search for Java An Introduction to Problem Solving and Programming 8th :
java an introduction to problem solving and programming 7/e
java an introduction to problem solving and programming global edition
java an introduction to problem solving and programming 7 e
java an introduction to problem solving and programming 8th
java an introduction to problem solving and programming with access
Tags: Walter Savitch, Kenrick Mock, An Introduction, Problem Solving


