Have one to sell? Sell yours here
 
 
Java 2 in Easy Steps
 
See larger image
 

Java 2 in Easy Steps (Paperback)

by Mike McGrath (Author)
4.3 out of 5 stars  See all reviews (3 customer reviews)

Available from these sellers.


10 used from £0.01

Customers Viewing This Page May Be Interested in These Sponsored Links

  (What is this?)
   JAVA Quick opens new browser window
www.firebrandtraining.co.uk  -  From the Training Company of the Year, 3 years running. 
   IntelliJ IDEA opens new browser window
www.jetbrains.com  -  Professional Java IDE for professional developers. Get Trial! 
   JavaScript® Download Free opens new browser window
JavaScriptTool.com/Download  -  Download Now To Repair JavaScript®! 100% Free Directions - Recommended. 
  
 

Product details

  • Paperback: 192 pages
  • Publisher: Computer Step (Jun 2001)
  • Language English
  • ISBN-10: 1840780258
  • ISBN-13: 978-1840780253
  • Product Dimensions: 23 x 19 x 1 cm
  • Average Customer Review: 4.3 out of 5 stars  See all reviews (3 customer reviews)
  • Amazon.co.uk Sales Rank: 409,397 in Books (See Bestsellers in Books)

    Popular in this category:

    #46 in  Books > Computing & Internet > Programming > Introduction to Programming > Java

Product Description

Book Description

"Java 2 in easy steps" explains the exciting world of Java 2 programming and will guide the reader gently through its powerful features. This book will get the reader started in developing Java 2 applications quickly and easily.

The first chapter begins by introducing Java with guidance on how to download and install the Java Software Development Kit. A simple first program demonstrates how easy Java programming really is.

The author then moves on to "Variables & Operators". This chapter shows how to store program data inside containers called 'variables'. The different types of variable are demonstrated together with all the 'operators' that can be used to manipulate data in a Java program. Areas covered include: Arithmetical Operators; Assignment Operators; Comparison Operators; Logical and Conditional Operators.

Next, "Making Statements" are covered. Statements are used in Java to progress the execution of a program. They may define loops within the code or be expressions to be evaluated. This chapter examines conditional testing and illustrates different types of loops.

Chapter Four deals exclusively with "Using Arrays", and illustrates what they are and how to use them. The examples include a practical use of arrays and how array contents may be sorted into order. It covers: Creating Arrays and Empty Arrays; Array Elements; Read Elements Loop; Sort Numerically and Alphabetically; Two-dimensional Arrays.

The author then moves on to "Doing Mathematics", in a chapter that introduces the Java Math class methods that can be used to perform mathematical calculations. Examples also illustrate formatting of numbers and currency, plus the generation of random numbers.

Chapter Six, "Managing Strings", illustrates how text strings can be manipulated and demonstrates by example, how data can be passed to Java programs at run time. Areas covered are: String Length; Joining Strings; Search a String; Substrings; Comparing Ends and Strings; Passing Data to Programs; Passing Data with JPadPro; Converting Strings; Changing Case; Replace Letters and Spaces.

Moving on to "Methods & Classes", this chapter introduces programs with multiple methods and multiple classes. Examples illustrate how to pass values between methods and the static and void declaration modifiers are explained. Then "Programming with Objects" introduces objects into Java programming. It defines what an object is, how to create new instances of an object and how to use their methods and properties.

Chapter Nine looks at "Handling Errors". It examines the sort of errors that can occur in a Java program and demonstrates how code can be introduced into the program to handle possible errors.

"Interface Components" are then looked at in a chapter that shows how to make Java programs that create windowed applications. Examples demonstrate how to add and layout each of the components that can be used to build a Graphical User Interface (GUI). Areas covered: Creating a Window; Content Containers; Adding Push Buttons; the Push Buttons Program; Adding Labels & Text Fields; Check Boxes & Radio Buttons; Combo Boxes; Slider Components; Text Areas; Adding Scroll Panes; Panel Containers; Flow, Border, Grid and Gridbag Layout Manager.

In Chapter Eleven, "User Interaction" demonstrates how to add features to a program that can handle user input from interface components or from the keyboard. Examples illustrate how user actions create events that can interact with a Java program. The author then moves on to "Applets for the Web", in a chapter that shows how to create Java programs that can be incorporated into a web page and run over the Internet. Examples illustrate how to allow features of the program to be customised from within the host HTML document.

Chapter Thirteen, "Fonts, Colours & Shapes", explores how to specify fonts and colours in Java applications and applets. Examples also demonstrate how to create lines, circles, rectangles and other exciting colour graphics. Next, "Working with Files" illustrates how Java programs can utilise other external files, such as text files, sound files and image files. Examples demonstrate reading and writing with a text file, playing a sound file and adding images to an application.

The final chapter, "Threads & Animation" illustrates how Program Threlooked at, together with archive files and how to go further in Java Chapter 6 - Managing Strings Chapter 7 - Methods & Classes Chapter 8 - Programming with Objects Chapter 9 - Handling Errors Chapter 10 - Interface Components Chapter 11 - User Interaction Chapter 12 - Applets for the Web Chapter 13 - Fonts, Colours & Shapes Chapter 14 - Working with Files Chapter 15 - Threads and Animation


Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organize and find favorite items.
Your tags: Add your first tag
 

 

Customer Reviews

3 Reviews
5 star:
 (2)
4 star:    (0)
3 star:
 (1)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.3 out of 5 stars (3 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
17 of 18 people found the following review helpful:
5.0 out of 5 stars Understand Java quickly, 9 Jan 2002
By neal_f10@hotmail.com (London, England) - See all my reviews
Quality book - I am already a Developer but with no OO Experience. Bought this book as couldn't be bothered with massive 'Teach Yourself to be a guru in eight minutes'.

This book gives you the basics with clear context and explains it so well you can not fail to get to grips with Java. Once you have read this and understand the principles move onto to learning an IDE and more abstract Java.

Wish I had found this book I whjile ago as my many manuals and other literature expect you to either know OO or be able to comprehend the fundamentals with little info. This book does not. All in all a great little book for the inexperienced who want to get to grips with an OO language quickly!!

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
1 of 1 people found the following review helpful:
3.0 out of 5 stars Java 2, 14 Jan 2004
This was the book i first bought to learn java 2 and having been already equipped with the fundamentals of object orientated programming I was rather dissapointed that the book failed to contain details of the actual logic behind the programming. The continuous examples make the book an excellent reference guide but I do feel that for absolute programming beginners the book fails to provide enough to enable beginners to progress.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
0 of 1 people found the following review helpful:
5.0 out of 5 stars Excelent introductory book, 23 May 2004
By A Customer
Arriving at uni and finding that we'd be using Java as our primary programming language (i'd previously only used BASIC), I tried to find a simple book to get me started...

"Java 2 In Easy Steps" is a brilliant book in this respect: simple, concise examples that are fully explained and give you an excelent introduction to the Java language. By the end of the book you will have aquired a good understanding on Java and be able to write fairly sophisticated programs.

As this is quite a small book (192 pages) it cannot cover all of the extensive Java API, but there is more than enough here to get you started and a page of 'resources' (i.e. websites) for further reading if you'd like to explore Java any further.

I found this book very useful and a lot easier to follow than a much larger 'recomended textbook' for my course (which cost about £40...). All in all, a great book for beginners and intermediate Java programmers. Highly recommended.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

   


Look for similar items by category


Look for similar items by subject


Feedback

Ad

Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.