Murach’s Java Programming, 4th Edition
Developers often tell me they wish they’d found our Java book first, before spending time and money on others. Here are a few of the reasons why I believe this book will work equally well for you:
- This book teaches the core Java skills that you need to work with objects, graphical user interfaces (GUIs), files, and databases.
- It gives you a fast start! In fact, by the end of chapter 6, you’ll be developing bulletproof Java applications with business classes and objects.
- It now shows you how to use the NetBeans IDE to code, test, and debug Java applications. This easy-to-use tool boosts your productivity and is widely used in industry. So you’ll be working like a pro right from the start.
- It takes the mystery out of object-oriented programming by using real-world applications (instead of objects like cats and dogs) to demonstrate key concepts like inheritance, interfaces, and polymorphism.
- It covers the best new features of Java SE 7, like the try-with-resources statement, the diamond operator (<>), and a new and improved file system API (known as NIO2).
- In the GUI section, it shows you how to use the NetBeans GUI builder to design a form and generate the code needed to display it. As a result, this section has you focus on critical coding skills, such as handling events, instead of on code that should be generated.
- Because business applications routinely handle data, it shows how to work with text files, binary files, XML files, and databases (using JDBC).
- It now has a chapter on deploying applications by using executable JAR files or Java Web Start.
- All the skills are presented in our standard, “paired-pages” format, to save you time on both training and reference.
Who this book is for
This book is for anyone who wants to learn the core features of the Java language:
- It works if you’re new to programming.
- It works if you have programming experience with another language.
- It works if you already know an older version of Java and you want to get up-to-speed with Java SE 7.
- It works if you’ve already read 3 or 4 other Java books and still don’t know how to develop a real-world application.
If you’re new to programming, the prerequisites are minimal. You just need to be familiar with the operation of the platform that you’re using. That means you should know how to perform tasks like opening, saving, printing, closing, copying, and deleting files.
Table of contents
Section 1: Essential Java skills
Chapter 1. How to get started with Java and NetBeans
Chapter 2. Introduction to Java programming
Chapter 3. How to work with data
Chapter 4. How to code control statements
Chapter 5. How to validate input data
Chapter 6. How to test and debug an application
Section 2: Object-oriented programming with Java
Chapter 7. How to define and use classes
Chapter 8. How to work with inheritance
Chapter 9. How to work with interfaces
Chapter 10. Other object-oriented programming skills
Section 3: More Java skills
Chapter 11. How to work with arrays
Chapter 12. How to work with collections and generics
Chapter 13. How to work with dates and strings
Chapter 14. How to handle exceptions
Section 4: GUI programming with Swing
Chapter 15. How to develop a form
Chapter 16. How to work with controls and handle events
Chapter 17. How to develop and deploy applets
Section 5: Data access programming with Java
Chapter 18. How to work with text and binary files
Chapter 19. How to work with XML
Chapter 20. How to work with a Derby database
Chapter 21. How to use JDBC to work with databases
Section 6: Advanced Java skills
Chapter 22. How to work with threads
Chapter 23. How to deploy an application
Appendix A. How to set up your PC for this book
Appendix B. How to set up your Mac for this book
- Paperback: 836 pages
- Publisher: Mike Murach & Associates; 4th Edition (November 2011)
- Language: English
- ISBN-10: 1890774650
- ISBN-13: 978-1890774653