Introduction
There are many good Java programming books on the market, but it's not easy to find one fit for a beginner. This book simplifies the complexity of Java programming and guides you through the journey to effectively work under the hood.
You'll start with the fundamentals of Java programming and review how it integrates with basic mathematical concepts through many practical examples. You'll witness firsthand how Java can be a powerful tool or framework in your experimentation work.
Learn Java with Math reveals how a strong math foundation is key to learning programming design. Using this as your motivation, you'll be programming in Java in no time.
=========
What You'll Learn
* Explore Java basics
* Program with Java using fun math-inspired examples
* Work with Java variables and algorithms
* Review I/O, loops, and control structures
* Use projects such as the Wright brothers coin flip game
=========
Who This Book Is For
Those new to programming and Java but have some background in mathematics and are at least comfortable with using a computer.
========
About the author
Ron Dai is a Microsoft software engineer and a mathematics and computer science instructor for NWSC in Washington. He enjoys teaching computer science using math.
Author(s): Ron Dai
Publisher: Apress
Year: 2020
Language: English
Pages: 228
Tags: Java
Front Matter ....Pages i-xix
Front Matter ....Pages 1-1
Introduction (Ron Dai)....Pages 3-8
Number Basics (Ron Dai)....Pages 9-18
Java Basics (Ron Dai)....Pages 19-22
Start Playing with Java (Ron Dai)....Pages 23-31
Variables (Ron Dai)....Pages 33-38
First Algorithm (Ron Dai)....Pages 39-41
Input and Output (Ron Dai)....Pages 43-47
Loop Structure – for Loop (Ron Dai)....Pages 49-55
Loop Structure – while Loop (Ron Dai)....Pages 57-62
Logical Control Structures (Ron Dai)....Pages 63-71
Errors and Tips (Ron Dai)....Pages 73-78
Java Basics Summary (Ron Dai)....Pages 79-84
Java Basics Projects (Ron Dai)....Pages 85-87
Java Basics Solutions (Ron Dai)....Pages 89-90
Front Matter ....Pages 91-91
Wright Brothers’ Coin Flip Game (Ron Dai)....Pages 93-96
Pythagorean Triples (Ron Dai)....Pages 97-101
Strong Typed Programming (Ron Dai)....Pages 103-107
Conditional Statements (Ron Dai)....Pages 109-117
Switch Statement (Ron Dai)....Pages 119-125
Tracing Moving Objects (Ron Dai)....Pages 127-130
Counting (Ron Dai)....Pages 131-146
Factorization (Ron Dai)....Pages 147-153
Exploratory Experimentation of Pi (Ron Dai)....Pages 155-161
Classes in Object-Oriented Programming (Ron Dai)....Pages 163-170
Interface – Total Abstraction (Ron Dai)....Pages 171-175
Inheritance – Code Reuse (Ron Dai)....Pages 177-180
Encapsulation and Polymorphism (Ron Dai)....Pages 181-183
Array – a Simple and Efficient Data Structure (Ron Dai)....Pages 185-188
Common Pitfalls (Ron Dai)....Pages 189-192
Design Considerations (Ron Dai)....Pages 193-201
IOU Computation (Ron Dai)....Pages 203-210
Projects (Ron Dai)....Pages 211-215
Java Intermediate Solutions (Ron Dai)....Pages 217-226
Back Matter ....Pages 227-231