+ 2
What is the use of passing the array to method?
2 ответов
+ 15
here is an simple example to see use of it ☺
sometimes , u want to print array multiple times and at different sections of code , so it will be better to make a method & pass array to it rather than using loops again at different places
+ 1
pls give me small ex program.