Synopses & Reviews
Learn to:- Use basic development concepts and techniques with Java
- Debug Java programs and create useful code
- Work with files on your computer’s hard drive
- Work with the latest features of Java 8
Fully updated to reflect the new features of Java 8!
If you’re a new programmer, or want to be, this unintimidating guide gets you on your way toward Java mastery. It explores what goes into creating a program, how to put the pieces together, debugging, and making it all work. Even if you’ve never written a line of code, this book will have you ordering your computer around in no time.
- Get started — dive into the overall programming experience, from finding out what programming is all about to getting your computer ready for writing and testing programs
- Jump into Java — discover the basic building blocks in any Java program, and get up to speed on how to represent data and get new values from existing values
- Go with the flow — find out how to look at your program as a mansion, and learn to make your computer navigate from one room to another
- One byte at a time — learn the best ways to break complex programming problems into small pieces and create solutions to solve them
- The write stuff — get access to all-important documents that no good Java programmer should be without
Open the book and find:
- How to identify the words in a Java program
- Plain-English explanations of Java statements and methods
- The scoop on programming with windows, buttons, and other graphical items
- Java troubleshooting tips
- Ways to write several kinds of decision-making statements
- How to diagnose loop problems
- Tips, resources, and all kinds of interesting goodies
Synopsis
What the book covers: Beginning Programming with Java For Dummies, 4E, starts would-be programmers on their way toward Java mastery by showing them basic development concepts and techniques in context of Java. The book explores what goes into creating a program, how to put the pieces together, dealing with standard programming challenges, debugging, and making it work. The release of Java 8 drives this revision. All examples are updated to reflect the changes in the latest technology. Author Barry Burd also offers new options for tools and techniques used in Java development.
Synopsis
A practical introduction to programming with JavaBeginning Programming with Java For Dummies, 4th Edition is a comprehensive guide to learning one of the most popular programming languages worldwide. This book covers basic development concepts and techniques through a Java lens. You'll learn what goes into a program, how to put the pieces together, how to deal with challenges, and how to make it work. The new Fourth Edition has been updated to align with Java 8, and includes new options for the latest tools and techniques.
Java is the predominant language used to program Android and cloud apps, and its popularity is surging as app demand rises. Whether you're just tooling around, or embarking on a career, Beginning Programming with Java For Dummies, 4th Edition is a great place to start. Step-by-step instruction, easy-to-read language, and quick navigation make this book the perfect resource for new programmers. You'll begin with the basics before moving into code, with simple, yet detailed explanations every step of the way. Topics include:
- Learn the language with sample programs and the Java toolkit
- Familiarize yourself with decisions, conditions, statements, and information overload
- Differentiate between loops and arrays, objects and classes, methods and variables
The book also contains links to additional resources, other programming languages, and guidance as to the most useful classes in the Java API. If you're new to programming languages, Beginning Programming with Java For Dummies, 4th Edition provides the instruction and practice you need to become a confident Java programmer.
About the Author
Barry Burd, PhD, is a professor of mathematics and computer science at Drew University. He is the author of Android Application Development All-in-One For Dummies and Java Programming for Android Developers For Dummies.
Table of Contents
Introduction 1
Part I: Getting Started with Java Programming 9
Chapter 1: Getting Started 11
Chapter 2: Setting Up Your Computer 23
Chapter 3: Running Programs 53
Part II: Writing Your Own Java Programs 75
Chapter 4: Exploring the Parts of a Program 77
Chapter 5: Composing a Program 97
Chapter 6: Using the Building Blocks: Variables, Values, and Types 121
Chapter 7: Numbers and Types 135
Chapter 8: Numbers? Who Needs Numbers? 153
Part III: Controlling the Flow 175
Chapter 9: Forks in the Road 177
Chapter 10: Which Way Did He Go? 193
Chapter 11: How to Flick a Virtual Switch 217
Chapter 12: Around and Around It Goes 233
Chapter 13: Piles of Files: Dealing with Information Overload 253
Chapter 14: Creating Loops within Loops 273
Chapter 15: The Old Runaround 285
Part IV: Using Program Units 309
Chapter 16: Using Loops and Arrays 311
Chapter 17: Programming with Objects and Classes 333
Chapter 18: Using Methods and Variables from a Java Class 347
Chapter 19: Creating New Java Methods 371
Chapter 20: Oooey GUI Was a Worm 393
Part V: The Part of Tens 423
Chapter 21: Ten Websites for Java 425
Chapter 22: Ten Useful Classes in the Java API 427
Index 431