The JavaTM Tutorial

| Start of Tutorial > Start of Trail | Search Feedback Form

Trail: The Reflection API

## Lesson: Working with Arrays

> The `Array` class provides methods that allow you to dynamically create and access arrays. In this lesson yu'll learn how to use these methods.

### Identifying Arrays

> This section shows you how to determine if an object really is an array.

### Retrieving Component Types

> If you want to find out the component type of an array, you'll want to check out the programming example in this section.

### Creating Arrays

> This section shows you how simple it is to create arrays at run time.

### Getting and Setting Element Values

> Even if you don't know the name of an array until run time, you can examine or modify the values of its elements. This section shows you how.

| Start of Tutorial > Start of Trail | Search Feedback Form

Copyright 1995-2001 Sun Microsystems, Inc. All rights reserved.