Jose,

Internally the arrays use "reference" i.e the array index will have
the address of the value it has been
given.  So if we are sending an array as an argument to any method we
are sending its referece,
so i pass-by-value is not possible.

Thanks,
Sha

On Jan 23, 12:42 am, Jose Dueñas <[email protected]> wrote:
> Hi!I'm wondering if it's possible to pass-by-value an array to a method?
>
> Thanks.
> Jose
>
> --
>
> /**************************************************/
>      Jose Maria Dueñas Quesada
>      e-mail: [email protected]
>      web:www.joseduenas.com
> /**************************************************/
>
> Computer science is not about computers any more than astronomy is about
> telescopes. -- E.Dijkstra

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to