Tuesday, March 15, 2011

Working with Arrays using reflections in java

The Array (in the API reference documentation)class provides methods that allow you to dynamically create and access arrays. You'll learn how to use these methods in this lesson.

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.

No comments:

Post a Comment

Chitika