Book description
The top-selling beginning Java book is now fully updated!
As an unstoppably platform-independent, object-oriented programming language, Java is used for developing web and mobile applications. In this up-to-date bestselling book, veteran author Barry Burd shows you how to create basic Java objects and clearly explains when you should simply reuse existing code.
Explores how the new version of Java offers more robust functionality and new features such as closures to keep Java competitive with more syntax-friendly languages like Python and Ruby
Covers object-oriented programming basics with Java, code reuse, the essentials of creating a Java program using the new JDK 7, creating basic Java objects, and new Eclipse features
Features a companion website that offers all code from the book and bonus chapters
Java For Dummies, 6th Edition gets you started with creating Java applications quickly and easily.
Table of contents
-
- Introduction
- Part I: Getting Started with Java
-
Part II: Writing Your Own Java Programs
-
Chapter 4: Making the Most of Variables and Their Values
- Varying a Variable
- Assignment Statements
- Understanding the Types of Values That Variables May Have
- Displaying Text
- Numbers without Decimal Points
- Combining Declarations and Initializing Variables
- The Atoms: Java’s Primitive Types
- The Molecules and Compounds: Reference Types
- An Import Declaration
- Creating New Values by Applying Operators
- Chapter 5: Controlling Program Flow with Decision-Making Statements
- Chapter 6: Controlling Program Flow with Loops
-
Chapter 4: Making the Most of Variables and Their Values
-
Part III: Working with the Big Picture: Object-Oriented Programming
- Chapter 7: Thinking in Terms of Classes and Objects
- Chapter 8: Saving Time and Money: Reusing Existing Code
- Chapter 9: Constructing New Objects
-
Part IV: Savvy Java Techniques
- Chapter 10: Putting Variables and Methods Where They Belong
- Chapter 11: Using Arrays to Juggle Values
- Chapter 12: Using Collections and Streams (When Arrays Aren't Good Enough)
- Chapter 13: Looking Good When Things Take Unexpected Turns
- Chapter 14: Sharing Names among the Parts of a Java Program
- Chapter 15: Responding to Keystrokes and Mouse Clicks
- Chapter 16: Writing Java Applets
- Chapter 17: Using Java Database Connectivity
-
Part V: The Part of Tens
-
Chapter 18: Ten Ways to Avoid Mistakes
- Putting Capital Letters Where They Belong
- Breaking Out of a switch Statement
- Comparing Values with a Double Equal Sign
- Adding Components to a GUI
- Adding Listeners to Handle Events
- Defining the Required Constructors
- Fixing Non-Static References
- Staying within Bounds in an Array
- Anticipating Null Pointers
- Helping Java Find Its Files
- Chapter 19: Ten Websites for Java
-
Chapter 18: Ten Ways to Avoid Mistakes
- About the Author
- Cheat Sheet
- More Dummies Products
Product information
- Title: Java For Dummies, 6th Edition
- Author(s):
- Release date: March 2014
- Publisher(s): For Dummies
- ISBN: 9781118407806
You might also like
book
Java For Dummies, 7th Edition
A new edition of the bestselling guide to Java If you want to learn to speak …
book
Java For Dummies, 8th Edition
Learn to write practical, reusable code with the straightforward tutorials and tips in the newest edition …
book
Java All-in-One For Dummies, 6th Edition
Java—from first steps to first apps Knowing Java is a must-have programming skill for any programmer. …
book
Java All-in-One For Dummies, 4th Edition
Everything you need to get going with Java! Java All-in-One For Dummies, 4th Edition has what …