function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
james123apexjames123apex 

Error in array out of bound. can please someone explain me

I'm having issues with my code as it says array out of bound.  can somebody please tell me why is error occur
Best Answer chosen by james123apex
Malika Pathak 9Malika Pathak 9
The array index out of bounds error is a exception of buffer overflow. It occurs when the index used to address array items exceeds the allowed value.

please check in your code the values you are using doesn't exceeds the limit

MARK THIS AS BEST ANSWER IF YOU GOT HELP FROM THIS ANSWER

All Answers

Malika Pathak 9Malika Pathak 9
The array index out of bounds error is a exception of buffer overflow. It occurs when the index used to address array items exceeds the allowed value.

please check in your code the values you are using doesn't exceeds the limit

MARK THIS AS BEST ANSWER IF YOU GOT HELP FROM THIS ANSWER
This was selected as the best answer
james123apexjames123apex
Thanks dear malika