Pass by value vs. Pass by reference
Always pass by value, if you ever say pass by reference, you will be rejected for sure. (in the interview that is)
You don't believe me, this guy explains it far more better than I ever can.
A few notes, observations that I would like to document about Java. This may be common,trivial knowledge, but I just want it to be in one place.
Always pass by value, if you ever say pass by reference, you will be rejected for sure. (in the interview that is)
0 Comments:
Post a Comment
<< Home