Sams Teach Yourself Java in 24 Hours

Sams Teach Yourself Java in 24 Hours

3.8 17
by Rogers Cadenhead
     
 

View All Available Formats & Editions

In just 24 lessons of one hour or less, you can learn how to create Java applications with the free NetBeans visual editing tools.

¿

Using a straightforward, step-by-step approach, popular author Rogers Cadenhead helps you master the skills and technology you need to create desktop and web programs, web services, and even a browser

Overview

In just 24 lessons of one hour or less, you can learn how to create Java applications with the free NetBeans visual editing tools.

¿

Using a straightforward, step-by-step approach, popular author Rogers Cadenhead helps you master the skills and technology you need to create desktop and web programs, web services, and even a browser game in Java. Each lesson builds on what you’ve already learned, giving you a solid understanding of the basic concepts and terminology.

  • Full-color figures and clear step-by-step instructions visually show you how to program with Java.
  • Quizzes and Exercises at the end of each chapter help you test your knowledge.
  • Notes, Tips, and Cautions provide related information, advice, and warnings.

Learn how to…

  • Set up your Java programming environment
  • Write your first working program in just minutes
  • Control program decisions and behavior
  • Store and work with information
  • Build straightforward user interfaces
  • Create interactive web programs
  • Use threading to build more responsive programs
  • Build a browser-based game from start to finish
  • Read and write files and XML data
  • Master best practices for object-oriented programming
  • Create flexible, interoperable web services with JAX-WS
  • Integrate graphics into your applications

Editorial Reviews

Library Journal
Cadenhead's Teach Yourself Java 2 in 24 Hours is a definite beginner's book, a self-tutorial in 24 one-hour chapters. The guides on networking, Threads (the ability of Java to multitask by allowing for multiple processes and actions at the same time), and Swing (a powerful Java interface package for visual design) are for advanced Java programmers but will fit well within most libraries. Copyright 1999 Cahners Business Information.
Booknews
Cadenhead (a programmer and writer) writes clearly and with great wit, as though he were interacting with a college pal, making this primer on Java 2 an enjoyable read. The goal is to teach programming to anyone with rudimentary computer skills, described as those who can produce a decent resume, or design a web page. The chapters, designed to take an hour each, lead the reader through the basics of programming, the use of graphical user interface, interactive web programs, and creating multimedia programs using color, sound, and animation. Annotation c. Book News, Inc., Portland, OR (booknews.com)

Product Details

ISBN-13:
9780768689204
Publisher:
Pearson Education
Publication date:
10/25/2009
Series:
Sams Teach Yourself Series
Sold by:
Barnes & Noble
Format:
NOOK Book
Pages:
432
Sales rank:
1,263,849
File size:
16 MB
Note:
This product may take a few minutes to download.

Read an Excerpt

Chapter 1: Becoming a Programmer

Computer programming is insanely difficult. It requires a four-year degree in computer science, thousands of dollars in computer hardware and software, a keen analytical intellect, the patience of Job, and a strong liking for caffeinated drinks. If you're a programming novice, this is probably what you've heard about computer programming. Aside from the part about caffeine, all of the rumors are greatly exaggerated.

Programming is a lot easier than most people think, although there are several reasons why you might believe otherwise:

  • Computer programmers have been telling people for years that programming is hard. This belief makes it easier for us to find highpaying jobs (or so I've heard) and gives us more leeway to goof off during business hours.
  • Computer programming manuals are often written in a language that only a Scrabble player could appreciate. Strange acronyms like OOP, RAD, COM, and MUMPS are used frequently along with newly invented jargon like instantiation, bytecode, and makefile.
  • Many computer programming languages have been available only with software packages costing $200 or more, which is a lot of cabbage.

Because of the growth of the Internet and other factors, this is a great time to learn programming. Useful programming tools are being made available at low cost (or no cost), often as downloads from World Wide Web sites. Thousands of programmers are distributing their work under "open source" licenses so people can examine how the programs were written, correct errors, and add their own improvements.

The goal of this book is to teach programming to the person who hasnever tried to program before, or the person who tried programming but hated it with an intense passion. The English language will be used as much as possible instead of jargon and obscure acronyms, and all new programming terms will be thoroughly explained as they are introduced.

If I've succeeded, you will finish Sams Teach Yourself Java 2 in 24 Hours with enough programming skill to be a danger to yourself and others. You'll be able to write programs, dive into other programming books with more confidence, and learn programming languages more easily. You also will have developed skills with Java, the most exciting programming language to be introduced in a decade.

The first hour of this book provides some introductory material about programming and gives you instructions on how to set up your computer so you can write Java programs. The following topics will be covered:

  • Choosing which programming language to learn first
  • What Java is
  • Using programs to boss your computer around
  • How programs work
  • How program errors (called hugs) are fixed
  • Acquiring the free Java 2 Software Development Kit
  • Installing the Kit
  • Getting ready to write programs

Choosing a Language

As you might have surmised at this point, computer programming is not as hard as it's cracked up to be. If you're comfortable enough with a computer to create a nice-looking resume, balance a checkbook with software such as Intuit Quicken, or create your own home page on the Web, you can write programs.

The key to learning how to program is to start with the right language. The programming language you choose often depends on the tasks you want the computer to accomplish...

Meet the Author

Rogers Cadenhead is a writer, computer programmer, and web developer who has written 21 books on Internet-related topics, including Sams Teach Yourself Java 6 in 21 Days. He maintains the Drudge Retort and other websites that receive more than seven million visits a year. This book’s official website is www.java24hours.com.

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >