1. Home
  2. Computing & Technology
  3. Java

Working With Objects

Learn how to make objects come to life in your Java applications.
Designing and Creating Objects
Follow this step-by-step guide to learn how to design and create an object.
The Constructor Method
When a new instance of an object is created the constructor method is called. Examples of how to create constructor methods in Java are discussed here.
Accessors and Mutators
In object-oriented programming sometimes it's necessary to provide access to the private fields of an object. The use of accessors and mutators are a way to enable that access.
Static Fields
Fields can be shared across all objects of the same type through the use of the static modifier.
Using Inheritance
Discover how a class can inherit the state and behaviors of another class.
How to Prevent Inheritance
Some classes are designed not to be extended by other classes. Find out how to prevent a class from being inherited by another.
What Is a Package?
Bring a sense of order to your classes through the use of packages.
Using Packages
Learn how to include the functionality of packaged classes into your programs.
Explore Java
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Java
  4. Java Syntax
  5. Working With Objects

©2009 About.com, a part of The New York Times Company.

All rights reserved.