Getting Started with Adobe After Effects - Part 6: Motion Blur
This module helps you to share, discuss and learn interview questions and answers of different technologies

Array as a parameter

Jun 13 2012 12:00AM by Suvendu Shekhar Giri (draft)   

Question

Can a method change the original values contained in an Array if we are passing it as a parameter to that method ?

Answer

Yes. This is because an Array is of reference type. When passing an array to a method, actually we are passing its reference and now the formal parameter holds the same reference as the actual variable. So changing value in either array will reflect in both places.

Read More..   [43 clicks]

Published under: SQL Server Interview Questions ·  ·  ·  · 

  • Previous: 
  • Next: 

Suvendu Shekhar Giri
168 · 1% · 289
0
Liked
 
0
Asked



Submit

Your Comment


Sign Up or Login to post a comment.

"Array as a parameter" rated 5 out of 5 by 1 readers
Array as a parameter , 5.0 out of 5 based on 1 ratings
    Copyright © Rivera Informatic Private Ltd Contact us      Privacy Policy      Terms of use      Report Abuse      Advertising      [ZULU1097]