Yes, well almost. The max index in a 10x10 array would be 9,9
Type: Posts; User: Norm
Yes, well almost. The max index in a 10x10 array would be 9,9
Just like with any data type:
tableOfItems[3] = new YourClass(); // store an instance of YourClass at index 3
Say the class YourClass has a method: methodInYourClass()
To call the method: ...
Methods do NOT have an existence outside of a class. You can't move them around, assign them, store them etc. You do that with a class object.
As helloworld922 said, you create a class with the...