Wonder Club world wonders pyramid logo
×

Java For Dummies Book

Java For Dummies
Java For Dummies, , Java For Dummies has a rating of 4.5 stars
   2 Ratings
X
Java For Dummies, , Java For Dummies
4.5 out of 5 stars based on 2 reviews
5
50 %
4
50 %
3
0 %
2
0 %
1
0 %
Digital Copy
PDF format
1 available   for $99.99
Original Magazine
Physical Format

Sold Out

  • Java For Dummies
  • Written by author Barry Burd
  • Published by Wiley, John & Sons, Incorporated, June 2011
  • Start building powerful programs with Java 6 — fast! Get an overview of Java 6 and begin building your own programs Even if you're new to Java programming — or to programming in general — you can get up and running on this wildly p
Buy Digital  USD$99.99

WonderClub View Cart Button

WonderClub Add to Inventory Button
WonderClub Add to Wishlist Button
WonderClub Add to Collection Button

Book Categories

Authors

Introduction     1
How to Use This Book     1
Conventions Used in This Book     2
What You Don't Have to Read     2
Foolish Assumptions     3
How This Book Is Organized     4
Getting Started     4
Writing Your Own Java Programs     4
Working with the Big Picture: Object-Oriented Programming     4
Savvy Java Techniques     5
The Part of Tens     5
Appendices     5
Bonus Chapters on the CD-ROM!     5
Icons Used in This Book     6
Where to Go from Here     7
Getting Started     9
All about Java     11
What You Can Do with Java     12
Why You Should Use Java     13
Getting Perspective: Where Java Fits In     14
Object-Oriented Programming (OOP)     15
Object-oriented languages     16
Objects and their classes     16
What's so good about an object-oriented language?     18
Refining your understanding of classes and objects     20
What's Next?     22
Running Canned Java Programs     23
Downloading and Installing the Java Development Kit (JDK)     23
Downloading Java     25
Installing Java on your computer     27
Preparing to Use an Integrated Development Environment     30
JCreator     31
Running JCreator for the first time     31
Running Java Programs     33
Running a text-based program     34
Running a GUI on its own     38
Running a GUI on a Web page (a Java applet)     41
Using the Basic Building Blocks     45
Speaking the Java Language     45
The grammar and the common names     46
The words in a Java program     47
Checking Out Java Code for the First Time     49
Understanding a Simple Java Program     50
The Java class     51
The Java method     52
The main method in a program     53
How you finally tell the computer to do something     54
Curly braces     57
And Now, a Few Comments     59
Adding comments to your code     60
What's Barry's excuse?     63
Finding javadoc pages     63
Using comments to experiment with your code     64
Typing Your Own Code     65
Writing Your Own Java Programs     71
Making the Most of Variables and Their Values     73
Varying a Variable     73
Assignment Statements     75
Understanding the Types of Values That Variables May Have     76
An Import Declaration     79
Displaying Text     80
Numbers without Decimal Points     80
Combining Declarations and Initializing Variables     82
The Atoms: Java's Primitive Types     83
The char type     84
The boolean type     86
The Molecules and Compounds: Reference Types     88
Creating New Values by Applying Operators     92
Initialize once, assign often     94
The increment and decrement operators     95
Assignment operators     99
Controlling Program Flow with Decision-Making Statements     101
Making Decisions (Java if Statements)     102
Guess the number     102
She controlled keystrokes from the keyboard     103
Creating randomness     104
The if statement     105
The double equal sign     106
Brace yourself     107
Indenting if statements in your code     107
Elseless in Ifrica      108
Forming Conditions with Comparisons and Logical Operators     109
Comparing numbers; comparing characters     109
Comparing objects     110
Importing everything in one fell swoop     113
Java's logical operators     113
Building a Nest     115
Choosing among Many Alternatives (Java switch Statements)     116
Your basic switch statement     117
To break or not to break     121
Controlling Program Flow with Loops     123
Repeating Instructions Over and Over Again (Java while Statements)     124
Repeating a Certain Number of Times (Java for Statements)     127
The anatomy of a for statement     128
The world premiere of "Al's All Wet"     130
Repeating Until You Get What You Want (Java do Statements)     131
Reading a single character     134
File handling in Java     135
Variable declarations and blocks     135
Loops Made Painless     136
Don't need no stinking counters     136
Grouping things together     138
Anatomy of an enhanced for loop     139
Working with the Big Picture: Object-Oriented Programming     143
Thinking in Terms of Classes and Objects     145
Defining a Class (What It Means to Be an Account)     145
Declaring variables and creating objects     148
Initializing a variable     150
Using variables     150
Compiling and Running More Than One Class     151
Defining a Method within a Class (Displaying an Account)     152
An account that displays itself     153
The display method's header     155
Sending Values to and from Methods (Calculating Interest)     155
Passing a value to a method     158
Returning a value from the getInterest method     161
Making numbers look good     162
Hiding Details with Accessor Methods (Why You Shouldn't Micromanage a Bank Teller)     165
Good programming     166
Public lives and private dreams: Making a variable name inaccessible     169
Enforcing rules with accessor methods     170
Saving Time and Money: Reusing Existing Code     173
Defining a Class (What It Means to Be an Employee)     174
The last word on employees     175
Putting your class to good use     176
Cutting a check     178
Working with Disk Files (A Brief Detour)     178
Storing data in a file     179
Copying and pasting code     181
Reading from a file     182
Who moved my file?     185
Adding directory names to your filenames     185
Reading a line at a time     186
Defining Subclasses (What It Means to Be a Full-Time Employee or a Part-Time Employee)     188
Creating a subclass     190
Creating subclasses is habit-forming     192
Using Subclasses     193
A program for the minimalist     194
A program for the maximalist     196
Overriding Existing Methods (Changing the Payments for Some of Your Employees)     199
Constructing New Objects     205
Defining Constructors (What It Means to Be a Temperature)     206
What is a temperature?     206
What you can do with a temperature     208
Calling new Temperature (32.0): A case study     209
Enum types as first-class citizens     212
Some things never change     213
More Subclasses (Doing Something about the Weather)     214
Building better temperatures     214
Constructors for subclasses     216
Using all this stuff     217
The default constructor      218
An invisible constructor call     220
A Constructor That Does More     222
Savvy Java Techniques     227
Putting Variables and Methods Where They Belong     229
Defining a Class (What It Means to Be a Baseball Player)     230
Another way to beautify your numbers     231
Using the Player class     231
Nine, count 'em, nine     233
Don't get all GUI on me     234
Tossing an exception from method to method     235
Making Static (Finding the Team Average)     236
Why is there so much static?     238
Displaying the overall team average     239
Static is old hat     242
Could cause static; handle with care     242
Experiments with Variables     243
Putting a variable in its place     244
Telling a variable where to go     247
Passing Parameters     250
Pass by value     250
Returning a result     252
Pass by reference     252
Returning an object from a method     254
Epilogue     256
Using Arrays and Collections to Juggle Values     257
Getting Your Ducks All in a Row      257
Creating an array in two easy steps     260
Storing values     261
Tab stops and other special things     263
Using an array initializer     264
Stepping through an array with the enhanced for loop     264
Searching     266
Arrays of Objects     269
Using the Room class     271
Yet another way to beautify your numbers     274
The conditional operator     275
Command Line Arguments     275
Using command line arguments in a Java program     276
Checking for the right number of command line arguments     278
Setting up JCreator for command line arguments     279
Using Java Collections     282
Collection classes to the rescue     283
Using an ArrayList     283
Using generics (hot stuff!)     286
Testing for the presence of more data     286
Looking Good When Things Take Unexpected Turns     289
Handling Exceptions     290
The parameter in a catch clause     294
Exception types     295
Who's going to catch the exception?     297
Throwing caution to the wind     304
Doing useful things      304
Our friends, the good exceptions     306
Handle an Exception or Pass the Buck     306
Finishing the Job with a finally Clause     311
The Part of Tens     315
Ten Ways to Avoid Mistakes     317
Putting Capital Letters Where They Belong     317
Breaking Out of a switch Statement     318
Comparing Values with a Double Equal Sign     318
Adding Components to a GUI     318
Adding Listeners to Handle Events     319
Defining the Required Constructors     319
Fixing Non-Static References     319
Staying within Bounds in an Array     320
Anticipating Null Pointers     320
Helping Java Find Its Files     321
Ten Sets of Web Resources for Java     323
The Horse's Mouth     323
Finding News, Reviews, and Sample Code     324
Improving Your Code with Tutorials     324
Finding Help on Newsgroups     324
Checking the FAQs for Useful Info     325
Reading Documentation with Additional Commentary     325
Opinions and Advocacy     325
Looking for Java Jobs     326
Becoming Certified in Java     326
Everyone's Favorite Sites     326
Using the CD-ROM     329
What You Can Expect to Find on the CD-ROM     329
System Requirements     330
Using the CD with Microsoft Windows     331
Using the CD with Mac OS     332
Running the Java Code That's in This Book     333
Freeware, Shareware, and Just Plain Ware     334
JCreator     334
Adobe Acrobat Reader     335
Jindent     336
NetCaptor     336
WinOne     336
And, If You Run into Any Trouble     337
Index     339
End-User License Agreement     361


Login

  |  

Complaints

  |  

Blog

  |  

Games

  |  

Digital Media

  |  

Souls

  |  

Obituary

  |  

Contact Us

  |  

FAQ

CAN'T FIND WHAT YOU'RE LOOKING FOR? CLICK HERE!!!

X
WonderClub Home

This item is in your Wish List

Java For Dummies, , Java For Dummies

X
WonderClub Home

This item is in your Collection

Java For Dummies, , Java For Dummies

Java For Dummies

X
WonderClub Home

This Item is in Your Inventory

Java For Dummies, , Java For Dummies

Java For Dummies

WonderClub Home

You must be logged in to review the products

E-mail address:

Password: