Home > Back-end >  How to call the members of an array of class, give directions;
How to call the members of an array of class, give directions;

Time:12-03

If a student class, has a name and score, I want to put students object in an array, such as arr [0] said zhang SAN, arr [1], said li si, I want to call arr [0] how to call the score? Is arr [0]. Score, if I put the arr [0] said king two, score automatically into two fractions, how to achieve this? Please show??
  • Related