spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / programming / java / beginning / chap5

Beginning Java 2 SDK 1.4 Edition

Developer News
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?

Beginning Java 2 SDK 1.4 Edition Book Cover

Chapter 5: Defining Classes*

[The series of excerpts below are from Chapter 5 of the Wrox Press Ltd. title Beginning Java 2 SDK 1.4 Edition. Source code for the examples discussed can be downloaded at the Wrox Web site (free e-mail registration required).]

In this chapter we will explore the heart of the Java language--classes. Classes specify the objects you use in object-oriented programming. These form the basic building blocks of any Java program, as we saw in Chapter 1. Every program in Java involves classes, since the code for a program can only appear within a class definition.

We will now explore the details of how a class definition is put together, how to create your own classes and how to use classes to solve your own computing problems. And in the next chapter we'll extend this to look at how object-oriented programming helps us work with related classes.

By the end of this chapter you will have learned:

Excerpt Contents

# # #

* Copyright and Authorship Notice

This chapter extract is taken from "Beginning Java 2 SDK 1.4 Edition" by Ivor Horton published by Wrox Press Limited in March 2002; ISBN 1861005695; copyright © Wrox Press Limited 2002; all rights reserved.

No part of this chapter may be reproduced, stored in a retrieval system or transmitted in any form or by any means--electronic, electrostatic, mechanical, photocopying, recording or otherwise--without the prior written permission of the publisher, except in the case of brief quotations embodied in critical articles or reviews.


home / programming / java / beginning / chap5

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Rolling Out Your Own HTML Application Version Control · HTML 5: Client-side Storage · Working with Ajax Server Extensions
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi Product Watch, November 2009 · Chip Market Recovering From '08 Collapse · Low-Cost Tools to Kickstart Your New Business

Created: June 24, 2002
Revised: August 5, 2002

URL: http://webreference.com/programming/java/beginning/chap5/