Get Programming with Java
Peggy Fisher
  • MEAP began September 2018
  • Publication in Summer 2019 (estimated)
  • ISBN 9781617295140
  • 525 pages (estimated)
  • printed in black & white

I wish my first Java book had read like this one!

Kelvin Johnson
In Get Programming with Java, experienced instructor Peggy Fisher makes learning the Java programming language fast, easy, and fun! Using short, focused lessons with quick-check questions, “try this” exercises that let you practice what you’ve learned, and six capstone projects, you’ll quickly master the basics of object-oriented programming in Java!
Table of Contents detailed table of contents

Unit 0: Getting Started with Java

Lesson 1 Get Started

1.1 What is an Integrated Development Environment

1.2 Install the Java Development Kit (JDK)

1.3 How to Install NetBeans

1.4 NetBeans Environment Setup

1.5 Write a Java Program Using NetBeans

1.6 Summary

Unit 1: Classes and Objects

Lesson 2 Creating Classes

2.1 Defining a Class

2.2 Add Class Behaviors using Methods

2.3 Create objects based on the class definition

2.4 Summary

Lesson 3 Visibility Modifiers

3.1 Packages

3.2 Visibility Modifiers Explained

3.3 Visibility Modifiers in Action

3.4 Summary

Lesson 4 Adding Methods

4.1 Method Signatures

4.1.1 Visibility Modifier

4.1.2 Return Type

4.1.3 Method Naming Conventions

4.1.4 Parameter List

4.1.5 Method Body

4.2 Adding Getter and Setter Methods

4.3 Adding More Methods

4.4 Summary

Lesson 5 Adding Loops

5.1 Adding a Count Controlled Loop

5.2 The While Loop

5.3 The Do…​While Loop

5.4 The for-each Loop

5.5 Summary

Lesson 6 Arrays and ArrayLists

6.1 Creating arrays

6.2 Access and modify elements in an array

6.3 Manipulating arrays using the Arrays class

6.4 Creating ArrayLists

6.5 Accessing and modifying elements in an ArrayList

6.6 Summary

Lesson 7 Capstone 1

7.1 Flowchart the Solution

7.2 Create an Employee Class

7.3 Add getter and setter methods to the Employee class

7.4 Add methods to the Employee class

7.5 Wrap It Up

7.6 Summary

Unit 2: Application Programming Interface (API)

Lesson 8 Standard Java API

8.1 How to read the API documentation

8.2 Scanner class

8.3 Wrapper classes

8.3.1 Wrapper classes for primitive data types

8.3.2 Wrapper class methods

8.4 Summary

Lesson 9 String and StringBuilder Classes

9.1 Working with strings

9.2 Converting between numbers and strings

9.3 String methods

9.4 StringBuilder class and methods

9.5 Summary

Lesson 10 Static Methods and Variables

10.1 Static Methods

10.2 Static Variables

10.3 Final Static Variables

10.4 Summary

Lesson 11 Using Interfaces

11.1 What is an Interface

11.2 Defining a new Interface

11.3 Implementing an Interface

11.4 Summary

Lesson 12 Capstone 2

12.1 Create the Author class

12.2 Create the Book class

12.3 Create the ACMEPublishing class

12.4 Summary

Unit 3: Programming with Objects

Lesson 13 Overloading Methods

Lesson 14 Overriding Methods

Lesson 15 Polymorphism Use Cases

Lesson 16 Polymorphism in Action

Lesson 17 Comparing Objects

Lesson 18 Capstone 3

Unit 4: More Programming with Objects

Lesson 19 Call by value vs. call by reference

Lesson 20 Garbage Collection

Lesson 21 Collections Use Cases

Lesson 22 Collections in Action

Lesson 23 Generic classes  — using, not creating

Lesson 24 Capstone 4 — continues capstone 5

Unit 5: File Processing

Lesson 25 Reading from File

Lesson 26 Writing to Files

Lesson 26 Using Streams from Java 8

Lesson 27 Data parsing

Lesson 28 File error handling

Lesson 30 Capstone 5

Unit 6: Advanced Topics

Lesson 31 Functional Interfaces

Lesson 32 Coupling/Cohesion

Lesson 33 Singletons

Lesson 34 Design Patterns

Lesson 35 Lambda functions

Special lessons:

How to run Java programs from the terminal

Package your app for deployment

About the Technology

Easy to use and platform-independent, Java is the programming language behind millions of networked applications, with an estimated 3 billion devices currently running Java apps. Stable, robust, and ubiquitous, Java has been the trusted solution for large-scale enterprise applications since its inception more than twenty years ago. It’s also the tool of choice for Android apps, web servers, games, and embedded programs for small devices.

About the book

Get Programming with Java teaches you to write programs in the Java language, starting from the most basic building blocks. In her relatable and personable style, author Peggy Fisher begins by helping you set up a Java programming environment on your computer. Once you’re up and running, you’ll start working with the foundations of Java and object-oriented programming, including classes and objects. Always practical and clear, this carefully-designed tutorial swaps the usual heavy-handed theory for concrete examples and easy-to-follow scenarios.

And you’ll use everything you learn immediately! Quick, concise lessons and “try this” exercises give you practical, hands-on experience with inheritance, file processing, collections, design patterns, and other vital Java principles. At the end of each set of lessons you’ll complete a capstone project to lock in what you’ve learned. This fun guide with a course-like feel will have you programming in Java quickly, confidently, and proficiently.

What's inside

  • Creating classes and objects
  • Understanding the standard Java API
  • File processing
  • Six capstone projects
  • File error handling
  • Design patterns
  • Packaging apps for deployment

About the reader

This book is written for readers with a beginner-level knowledge of any programming language. No prior experience with Java or object oriented programming is required.

About the author

Peggy Fisher is a content manager and staff instructor at LinkedIn Learning Solutions, currently in charge of finding instructors for courses on core programming languages. Her lifelong passion for teaching and technology has led to her extensive experience in course creation and instruction including as a high school computer science teacher, a consultant for Microsoft, and a content manager and lecturer at Pennsylvania State University.

Manning Early Access Program (MEAP) Read chapters as they are written, get the finished eBook as soon as it’s ready, and receive the pBook long before it's in bookstores.

FREE domestic shipping on three or more pBooks

Captivating read. Not only teaches Java but also the best practices used in the Java ecosystem.

Pedro Gabriel

This is a fantastic book for bridging the gap between other languages, such as Python, into Java.

Marty Henderson