Synopses & Reviews
Learn Java programming the easy way and make your computer do your bidding
If you want to start writing computer programs, you've come to the right book. Here's a straightforward approach to learning Java, the object-oriented programming language that works on Windows, Mac, and Linux computers. Even if you've never written a line of code, this friendly guide will have you ordering your computer about in no time!
Start here if you're a complete novice, discover what programming is all about and prepare your computer for writing and testing programs
Building blocks learn the elements of a Java program, how to represent data, and how to get new values from existing ones
Go with the flow take your programs to the next level and deal with larger amounts of information
One bite at a time see how to solve more complex programming problems by using program units and ready-made code
Go graphical discover how to program windows, buttons, and other graphical items
Visit the companion website at www.dummies.com/go/beginningprogrammingwithjavafd to find all the code samples used in this book, updated for Java 7.
Open the book and find:
Why Java is such a cool language
When to use variables, values, and types
What you need to know about keywords, identifiers, and literals
How to create loops within loops
Why you need Eclipse
How to flick a virtual switch
Tips on using Boolean variables
What you can do with arrays
Synopsis
One of the most popular beginning programming books, now updated for the latest revision of Java
- Puts first-time programmers and those seeking a beginner-level Java reference on the road to Java mastery; fully revised to cover the recent updates for Java 7.0
- Explores what goes into creating a program, how to put the pieces together, dealing with standard programming challenges, debugging, and making the program work
- All examples are updated to reflect the changes in the latest technology
- Offers new options for tools and techniques used in Java development
- Provides valuable information and examples for the would-be programmer with no Java experience
Barry Burd (Madison, NJ) is a computer science professor at Drew University where he has been named to Drew's "List of Teachers Ranked as Excellent by Students" five times. He writes frequently for several publications including JavaBoutique.com and BZ Media's Eclipse Review magazine.
Synopsis
One of the most popular beginning programming books, now fully updated Java is a popular language for beginning programmers, and earlier editions of this fun and friendly guide have helped thousands get started. Now fully revised to cover recent updates for Java 7.0, Beginning Programming with Java For Dummies, 3rd Edition is certain to put more first-time programmers and Java beginners on the road to Java mastery.
- Explores what goes into creating a program, putting the pieces together, dealing with standard programming challenges, debugging, and making the program work
- Offers new options for tools and techniques used in Java development
- Provides valuable information and examples for the would-be programmer with no Java experience
- All examples are updated to reflect the latest changes in Java 7.0
Beginning Programming with Java For Dummies, 3rd Edition offers an easy-to-understand introduction to programming through the popular, versatile Java 7.0 language.
About the Author
Dr. Barry Burd has an M.S. in Computer Science from Rutgers University and a Ph.D. in Mathematics from the University of Illinois. As a teaching assistant in Champaign-Urbana, Illinois, he was elected five times to the universitywide List of Teachers Ranked as Excellent by their Students.
Since 1980, Dr. Burd has been a professor in the Department of Mathematics and Computer Science at Drew University in Madison, New Jersey. When he's not lecturing at Drew University, Dr. Burd leads training courses for professional programmers in business and industry. He has lectured at conferences in the United States, Europe, Australia, and Asia. He is the author of several articles and books, including Java For Dummies and Android Application Development All-in-One For Dummies, both published by John Wiley & Sons, Inc.
Table of Contents
Introduction 1Part I: Revving Up 7
Chapter 1: Getting Started 9
Chapter 2: Setting Up Your Computer 21
Chapter 3: Running Programs 47
Part II: Writing Your Own Java Programs 69
Chapter 4: Exploring the Parts of a Program 71
Chapter 5: Composing a Program 91
Chapter 6: Using the Building Blocks: Variables, Values, and Types 115
Chapter 7: Numbers and Types 129
Chapter 8: Numbers? Who Needs Numbers? 147
Part III: Controlling the Flow 169
Chapter 9: Forks in the Road 171
Chapter 10: Which Way Did He Go? 187
Chapter 11: How to Flick a Virtual Switch 209
Chapter 12: Around and Around It Goes 225
Chapter 13: Piles of Files: Dealing with Information Overload 245
Chapter 14: Creating Loops within Loops 265
Chapter 15: The Old Runaround 277
Part IV: Using Program Units 301
Chapter 16: Using Loops and Arrays 303
Chapter 17: Programming with Objects and Classes 321
Chapter 18: Using Methods and Variables from a Java Class 335
Chapter 19: Creating New Java Methods 357
Chapter 20: Oooey GUI Was a Worm 379
Part V: The Part of Tens 405
Chapter 21: Ten Sets of Web Links 407
Chapter 22: Ten Useful Classes in the Java API 413
Index 417