站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Tutorial 5.0 英文版

Working with Arrays - Java Tutorial 5.0 英文版

The JavaTM Tutorial
Previous Page Lesson Contents Next Page Start of Tutorial > Start of Trail Search
Feedback Form

Trail: The Reflection API

Lesson: Working with Arrays

The Array  (in the API reference documentation)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.

Previous Page Lesson Contents Next Page Start of Tutorial > Start of Trail Search
Feedback Form

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