Book description
Currently used at many colleges, universities, and high schools, this hands-on introduction to computer science is ideal for people with little or no programming experience. The goal of this concise book is not just to teach you Java, but to help you think like a computer scientist. You’ll learn how to program—a useful skill by itself—but you’ll also discover how to use programming as a means to an end.
Authors Allen Downey and Chris Mayfield start with the most basic concepts and gradually move into topics that are more complex, such as recursion and object-oriented programming. Each brief chapter covers the material for one week of a college course and includes exercises to help you practice what you’ve learned.
- Learn one concept at a time: tackle complex topics in a series of small steps with examples
- Understand how to formulate problems, think creatively about solutions, and write programs clearly and accurately
- Determine which development techniques work best for you, and practice the important skill of debugging
- Learn relationships among input and output, decisions and loops, classes and methods, strings and arrays
- Work on exercises involving word games, graphics, puzzles, and playing cards
Publisher resources
Table of contents
- Preface
- 1. The Way of the Program
- 2. Variables and Operators
- 3. Input and Output
- 4. Void Methods
- 5. Conditionals and Logic
- 6. Value Methods
- 7. Loops
- 8. Arrays
- 9. Strings and Things
- 10. Objects
- 11. Classes
- 12. Arrays of Objects
- 13. Objects of Arrays
- 14. Objects of Objects
- A. Development Tools
- B. Java 2D Graphics
- C. Debugging
- Index
Product information
- Title: Think Java
- Author(s):
- Release date: May 2016
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491929568
You might also like
book
Think Java, 2nd Edition
Currently used at many colleges, universities, and high schools, this hands-on introduction to computer science is …
book
Java By Comparison
Write code that's clean, concise, and to the point: code that others will read with pleasure …
book
The Well-Grounded Java Developer, Second Edition
Understanding Java from the JVM up gives you a solid foundation to grow your expertise and …
book
Learn Java the Easy Way
"Java is the world’s most popular programming language, but it’s known for having a steep learning …