Buy New
-51%
$24.61$24.61
FREE delivery Friday, November 13 on orders shipped by Amazon over $35
Ships from: Amazon.com Sold by: Amazon.com
Used - Good
$19.49$19.49
FREE delivery November 14 - 17 on orders shipped by Amazon over $35
Ships from: Amazon Sold by: TRWs Treasures LLC
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the authors
OK
Think Java: How to Think Like a Computer Scientist
Purchase options and add-ons
Think Java is a hands-on introduction to computer science and programming used by many universities and high schools around the world. Its conciseness, emphasis on vocabulary, and informal tone make it particularly appealing for readers with little or no experience. The book starts with the most basic programming concepts and gradually works its way to advanced object-oriented techniques.
In this fully updated and expanded edition, authors Allen Downey and Chris Mayfield introduce programming as a means for solving interesting problems. Each chapter presents material for one week of a college course and includes exercises to help you practice what you’ve learned. Along the way, you’ll see nearly every topic required for the AP Computer Science A exam and Java SE Programmer I certification.
- Discover one concept at a time: tackle complex topics in a series of small steps with multiple examples
- Understand how to formulate problems, think creatively about solutions, and develop, test, and debug programs
- Learn about input and output, decisions and loops, classes and methods, strings and arrays, recursion and polymorphism
- Determine which program development methods work best for you, and practice the important skill of debugging
- ISBN-101492072508
- ISBN-13978-1492072508
- Edition2nd
- PublisherO'Reilly Media
- Publication dateJanuary 7, 2020
- LanguageEnglish
- Dimensions7 x 0.75 x 9.25 inches
- Print length326 pages
Frequently bought together

Customers who viewed this item also viewed
- AP Computer Science A Premium, 13th Edition: Prep Book with 6 Practice Tests + Comprehensive Review + Online Practice (2026) (Barron's AP Prep)PaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Friday, Nov 13
- Learning Java: An Introduction to Real-World Programming with JavaPaperbackFREE Shipping by AmazonGet it as soon as Friday, Nov 13Only 9 left in stock (more on the way).
- Java in a Nutshell: A Desktop Quick ReferencePaperbackFREE Shipping by AmazonGet it as soon as Friday, Nov 13Only 6 left in stock (more on the way).
- Think Python: How to Think Like a Computer ScientistPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Friday, Nov 13
- Head First Java: A Brain-Friendly GuidePaperbackFREE Shipping by AmazonGet it as soon as Friday, Nov 13
- Java Cookbook: Problems and Solutions for Java DevelopersPaperbackFREE Shipping by AmazonGet it as soon as Friday, Nov 13Only 4 left in stock (more on the way).
Customers also bought or read
- Learning Java: An Introduction to Real-World Programming with Java
Paperback$48.41$48.41FREE delivery Fri, Nov 13 - Think Data Structures: Algorithms and Information Retrieval in Java
Paperback$27.60$27.60Delivery Fri, Nov 13 - Java for Beginners: Build Your Dream Tech Career with Engaging Lessons and Projects#1 Best SellerBeginner's Guides to Java Programming
Paperback$14.39$14.39Delivery Fri, Nov 13 - Head First Design Patterns: Building Extensible and Maintainable Object-Oriented Software 2nd Edition#1 Best SellerJava Programming
Paperback$30.68$30.68Delivery Fri, Nov 13 - Core Java, Volume I: Fundamentals (Oracle Press for Java)
Paperback$75.77$75.77FREE delivery Fri, Nov 13 - Python Crash Course, 3rd Edition: A Hands-On, Project-Based Introduction to Programming#1 Best SellerFunctional Software Programming
Paperback$26.73$26.73Delivery Fri, Nov 13 - Fluent Python: Clear, Concise, and Effective Programming
Paperback$40.82$40.82FREE delivery Fri, Nov 13 - A Common-Sense Guide to Data Structures and Algorithms, Second Edition: Level Up Your Core Programming Skills
Paperback$40.00$40.00FREE delivery Fri, Nov 13 - Cracking the Coding Interview: 189 Programming Questions and Solutions#1 Best SellerData Structure and Algorithms
Paperback$25.00$25.00Delivery Nov 20 - 24 - Java Cookbook: Problems and Solutions for Java Developers
Paperback$53.35$53.35FREE delivery Fri, Nov 13 - JavaScript: The Definitive Guide: Master the World's Most-Used Programming Language
Paperback$37.50$37.50FREE delivery Fri, Nov 13 - Python Illustrated: Not another boring Python book, learn programming the fun way#1 Best SellerMobile App Development & Programming
Paperback$28.49$28.49Delivery Fri, Nov 13 - Java Coding Problems: Become an expert Java programmer by solving over 250 brand-new, modern, real-world problems
Paperback$41.24$41.24FREE delivery Fri, Nov 13 - Learn to Code by Solving Problems: A Python Programming Primer
Paperback$21.18$21.18Delivery Fri, Nov 13 - Code: The Hidden Language of Computer Hardware and Software#1 Best SellerMicrosoft Programming
Paperback$32.58$32.58Delivery Fri, Nov 13 - Programming: Principles and Practice Using C++ (C++ In-depth)
Paperback$55.73$55.73FREE delivery Fri, Nov 13 - Effective Python: 125 Specific Ways to Write Better Python (Effective Software Development Series)
Paperback$55.26$55.26FREE delivery Nov 20 - 30 - C Programming Language, 2nd Edition#1 Best SellerC Programming Language
Paperback$60.28$60.28FREE delivery Fri, Nov 13
From the brand
-
See more books in the series
-
More From O'Reilly
-
Sharing the knowledge of experts
O'Reilly's mission is to change the world by sharing the knowledge of innovators. For over 40 years, we've inspired companies and individuals to do new things (and do them better) by providing the skills and understanding that are necessary for success.
Our customers are hungry to build the innovations that propel the world forward. And we help them do just that.
From the Publisher
From the Preface
Think Java is an introduction to computer science and programming intended for readers with little or no experience. We start with the most basic concepts and are careful to define all terms when they are first used. The book presents each new idea in a logical progression. Larger topics, like control flow statements and object-oriented programming, are divided into smaller examples and introduced over the course of several chapters.
This book is intentionally concise. Each chapter is 10–12 pages and covers the material for one week of a college course. It is not meant to be a comprehensive presentation of Java, but rather, an initial exposure to programming constructs and techniques. We begin with small problems and basic algorithms and work up to object-oriented design. In the vocabulary of computer science pedagogy, this book uses the objects late approach.
The Philosophy Behind the Book
Here are the guiding principles that make the book the way it is:
One concept at a time: We break down topics that give beginners trouble into a series of small steps, so that they can exercise each new concept in isolation before continuing.
Balance of Java and concepts: The book is not primarily about Java; it uses code examples to demonstrate computer science. Most chapters start with language features and end with concepts.
Conciseness: An important goal of the book is to be small enough so that students can read and understand the entire text in a one-semester college or AP course.
Emphasis on vocabulary: We try to introduce the minimum number of terms and define them carefully when they are first used. We also organize them in glossaries at the end of each chapter.
Program development: There are many strategies for writing programs, including bottom-up, top-down, and others. We demonstrate multiple program development techniques, allowing readers to choose methods that work best for them.
Multiple learning curves: To write a program, you have to understand the algorithm, know the programming language, and be able to debug errors. We discuss these and other aspects throughout the book, and summarize our advice in Appendix D.
Editorial Reviews
About the Author
Chris Mayfield is an Assistant Professor of Computer Science at James Madison University, with a research focus on CS education and professional development. He has a Ph.D. in Computer Science from Purdue University and Bachelor's degrees in CS and German from the University of Utah.
Product details
- Publisher : O'Reilly Media
- Publication date : January 7, 2020
- Edition : 2nd
- Language : English
- Print length : 326 pages
- ISBN-10 : 1492072508
- ISBN-13 : 978-1492072508
- Item Weight : 2.31 pounds
- Dimensions : 7 x 0.75 x 9.25 inches
- Best Sellers Rank: #196,718 in Books (See Top 100 in Books)
- #13 in Java Programming
- #31 in Object-Oriented Software Design
- #40 in Object-Oriented Design
- Customer Reviews:
About the authors

Allen Downey is a Professor Emeritus at Olin College and Principal Data Scientist at PyMC Labs. He is the author of several books related to programming and data science, including Probably Overthinking It, Think Python, Think Stats, and Think Bayes. The idea behind these books is that if you know how to program, you can use that skill to learn other things.
Allen has a Ph.D. from U.C. Berkeley and M.S. and B.S. degrees from MIT. He has taught at Olin College, Colby College and Wellesley College.

Chris Mayfield is an assistant professor of Computer Science at James Madison University in Harrisonburg, VA. He enjoys running, biking, hiking, singing, coding, and of course, teaching. His current work focuses on CS education and professional development, particularly in K-12 schools. Chris and his wife Stacie are the proud parents of four children.

Discover more of the author’s books, see similar authors, read book recommendations and more.
Related products with free delivery on eligible orders
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customer reviews work on Amazon
























