0

hey guys,
I built an array of objects but I don`t know how to access it`s methods or fields.It keeps sending me errors
How should I access them?

2
Contributors
1
Reply
2
Views
8 Years
Discussion Span
Last Post by LizR
0

Well, thats a little ambiguous

if you have an array of things

such as

Thing[] mythings = new Thing[100];

you can access their methods just like any other normal variable but by adding the [n] option to say which of the objects you are using

Post a snippet of your code (use code tags), explain where its giving you an error and what, and what you expected..

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.