Search:

Type: Posts; User: Norm

Search: Search took 0.20 seconds.

  1. Replies
    8
    Views
    1,564

    Re: Question regarding 2d arrays

    Yes, well almost. The max index in a 10x10 array would be 9,9
  2. Replies
    8
    Views
    1,564

    Re: Question regarding 2d arrays

    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: ...
  3. Replies
    8
    Views
    1,564

    Re: Question regarding 2d arrays

    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...
Results 1 to 3 of 3