Think Java. How to Think Like a Computer Scientist. Second edition

Allen B. Downey and Chris Mayfield
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

Allen Downey is a professor of computer science at Olin College of Engineering. He has a PhD in computer science from UC Berkeley and master’s and bachelor’s degrees from MIT.

Chris Mayfield is an associate professor of computer science at James Madison University. He has a PhD in computer science from Purdue and two bachelor’s degrees from the University of Utah.