Java in Easy Steps: Fully Updated for Java 7

Overview

Now in its fourth edition, Java in Easy Steps begins by explaining how to download and install the free Java Development Kit (JDK) so readers can quickly begin to create their own executable programs by copying the examples. This book assumes no previous knowledge of any programming language, so it is ideal for the newcomer to computer programming. Each chapter builds the user's knowledge of Java, and by the end they gain a sound understanding of the Java language. Finally readers will be able to write their own ...

See more details below
Paperback (Fourth Edition)
$11.34
BN.com price
(Save 24%)$14.99 List Price

Pick Up In Store

Reserve and pick up in 60 minutes at your local store

Other sellers (Paperback)
  • All (51) from $5.14   
  • New (12) from $7.87   
  • Used (39) from $5.14   
Sending request ...

Overview

Now in its fourth edition, Java in Easy Steps begins by explaining how to download and install the free Java Development Kit (JDK) so readers can quickly begin to create their own executable programs by copying the examples. This book assumes no previous knowledge of any programming language, so it is ideal for the newcomer to computer programming. Each chapter builds the user's knowledge of Java, and by the end they gain a sound understanding of the Java language. Finally readers will be able to write their own Java programs and compile them into executable files that may be run on any Java-enabled computer.

Read More Show Less

Product Details

  • ISBN-13: 9781840784435
  • Publisher: In Easy Steps Limited
  • Publication date: 11/29/2011
  • Series: In Easy Steps
  • Edition description: Fourth Edition
  • Edition number: 4
  • Pages: 192
  • Sales rank: 798,808
  • Product dimensions: 7.30 (w) x 8.90 (h) x 0.40 (d)

Meet the Author

Mike gained his extensive knowledge of computer languages while working as a developer contracting to companies around the world. Mike is an established In Easy Steps author with several guides to his credit including: earlier editions of C++; Javascript, Java, Linux, PHP, SQL and Visual Basic Express.

Read More Show Less

Table of Contents

Getting started     7
Introduction     8
Installing the JDK     10
Writing a first Java program     12
Compiling & running programs     14
Creating a variable     16
Recognizing data types     18
Creating constants     20
Adding comments     21
Troubleshooting problems     22
Summary     24
Performing operations     25
Doing arithmetic     26
Assigning values     28
Comparing values     30
Assessing logic     32
Examining conditions     34
Setting precedence     36
Escaping literals     38
Working with bits     40
Summary     42
Making statements     43
Branching with if     44
Branching alternatives     46
Switching branches     48
Looping for     50
Looping while true     52
Doing do-while loops     54
Breaking out of loops     56
Returning control     58
Summary     60
Directing values     61
Casting typevalues     62
Creating variable arrays     64
Passing an argument     66
Passing multiple arguments     68
Looping through elements     70
Changing element values     72
Adding array dimensions     74
Catching exceptions     76
Summary     78
Manipulating data     79
Exploring Java classes     80
Doing mathematics     82
Rounding numbers     84
Generating random numbers     86
Managing strings     88
Comparing strings     90
Searching strings     92
Manipulating characters     94
Summary     96
Creating classes     97
Forming multiple methods     98
Understanding program scope     100
Forming multiple classes     102
Extending an existing class     104
Creating an object class     106
Producing an object instance     108
Encapsulating properties     110
Constructing object values     112
Summary     114
Importing functions     115
Handling files      116
Reading console input     118
Reading files     120
Writing files     122
Sorting array elements     124
Managing dates     126
Formatting numbers     128
Calculating currency     130
Summary     132
Building interfaces     133
Creating a window     134
Adding push buttons     136
Adding labels     138
Adding text fields     140
Adding item selectors     142
Adding radio buttons     144
Changing appearance     146
Arranging components     148
Summary     150
Recognizing events     151
Listening for events     152
Generating events     153
Handling button events     154
Handling item events     156
Reacting to keyboard events     158
Responding to mouse events     160
Announcing messages     162
Requesting input     164
Playing sounds     166
Summary     168
Deploying programs     169
Methods of deployment     170
Distributing programs      172
Building archives     174
Deploying applications     176
Enabling Web Start     178
Producing applets     180
Converting web pages     182
Deploying applets     184
Summary     186
Index     187
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)