- 1

Why am i getting ArrayIndexOutOfBoundException?

This is the program of Stack implementation using Arrays . https://code.sololearn.com/crn2zVpwc1qn/?ref=app

16th Sep 2021, 2:15 AM
Anushka Yadav
Anushka Yadav - avatar
2 Answers
+ 2
Anushka Yadav Because you have initialised array at wrong place https://code.sololearn.com/cP3wjhD6445n/?ref=app
16th Sep 2021, 2:46 AM
A͢J
A͢J - avatar
16th Sep 2021, 2:58 AM
Anushka Yadav
Anushka Yadav - avatar