mercredi 11 mars 2015

get length of array

So I got this class:



public class MyClass{
public int[] myArray = new int[9];
}


Can I, without the need of initializing an instance of MyClass, get the length of the array?






Aucun commentaire:

Enregistrer un commentaire