Home Page Icon
Home Page
Table of Contents for
Advertisement Page
Close
Advertisement Page
by Barry A. Burd
Beginning Programming with Java For Dummies, 5th Edition
Cover
Cover
Introduction
About This Book
How to Use This Book
Conventions Used in This Book
What You Don’t Have to Read
Foolish Assumptions
How This Book Is Organized
Icons Used in This Book
Beyond the Book
Where to Go from Here
Part 1: Getting Started with Java Programming
Chapter 1: Getting Started
What’s It All About?
From Your Mind to the Computer’s Processor
Your Java Programming Toolset
Chapter 2: Setting Up Your Computer
If You Don’t Like Reading Instructions …
Getting This Book’s Sample Programs
Setting Up Java
Setting Up the Eclipse Integrated Development Environment
Importing This Book’s Sample Programs
What’s Next?
Chapter 3: Running Programs
Running a Canned Java Program
Typing and Running Your Own Code
What’s All That Stuff in Eclipse’s Window?
Part 2: Writing Your Own Java Programs
Chapter 4: Exploring the Parts of a Program
Checking Out Java Code for the First Time
The Elements in a Java Program
Understanding a Simple Java Program
Chapter 5: Composing a Program
Computers Are Stupid
A Program to Echo Keyboard Input
Expecting the Unexpected
Chapter 6: Using the Building Blocks: Variables, Values, and Types
Using Variables
What Do All Those Zeros and Ones Mean?
Reading Decimal Numbers from the Keyboard
Variations on a Theme
Experimenting with JShell
Chapter 7: Numbers and Types
Using Whole Numbers
Creating New Values by Applying Operators
Size Matters
Chapter 8: Numbers? Who Needs Numbers?
Characters
The boolean Type
The Remaining Primitive Types
Part 3: Controlling the Flow
Chapter 9: Forks in the Road
Decisions, Decisions!
Making Decisions (Java if Statements)
Variations on the Theme
Chapter 10: Which Way Did He Go?
Forming Bigger and Better Conditions
Building a Nest
Enumerating the Possibilities
Chapter 11: How to Flick a Virtual Switch
Meet the switch Statement
Using Fall-Through to Your Advantage
Using a Conditional Operator
Chapter 12: Around and Around It Goes
Repeating Instructions over and over Again (Java while Statements)
Thinking about Loops (What Statements Go Where)
Thinking about Loops (Priming)
Chapter 13: Piles of Files: Dealing with Information Overload
Running a Disk-Oriented Program
Writing a Disk-Oriented Program
Writing, Rewriting, and Rerewriting
Chapter 14: Creating Loops within Loops
Paying Your Old Code a Little Visit
Creating Useful Code
Chapter 15: The Old Runaround
Repeating Statements a Certain Number of Times ( Java for Statements)
Using Nested for Loops
Repeating Until You Get What You Need (Java do Statements)
Repeating with Predetermined Values (Java’s Enhanced for Statement)
Chapter 16: Using Loops and Arrays
Some Loops in Action
Reader, Meet Arrays; Arrays, Meet the Reader
Working with Arrays
Looping in Style
Deleting Several Files
Part 4: Using Program Units
Chapter 17: Programming with Objects and Classes
Creating a Class
From Classes Come Objects
Another Way to Think about Classes
What’s Next?
Chapter 18: Using Methods and Fields from a Java Class
The String Class
Using an Object’s Methods
Static Methods
Understanding the Big Picture
Chapter 19: Creating New Java Methods
Defining a Method within a Class
Let the Objects Do the Work
Passing Values to Methods
Getting a Value from a Method
Chapter 20: Oooey GUI Was a Worm
The Java Swing Classes
The Swing Classes: Round 2
Code Soup: Mixing XML with Java
Adding Stuff to Your JavaFX Project
Taking Action
Part 5: The Part of Tens
Chapter 21: Ten Websites for Java
This Book’s Website
The Horse’s Mouth
Finding News, Reviews, and Sample Code
Looking for Java Jobs
Got a Question?
Chapter 22: Ten Useful Classes in the Java API
ArrayList
File
Integer
JFrame
JOptionPane
Math
NumberFormat
Scanner
String
System
About the Author
Advertisement Page
Connect with Dummies
End User License Agreement
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
About the Author
Next
Next Chapter
Connect with Dummies
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset