When we pass an Object[] to method, do we actually copy included objects or we just pass the array of references to those objects?
            Asked
            
        
        
            Active
            
        
            Viewed 70 times
        
    0
            
            
        - 
                    Java _never_ copies objects. – SLaks Oct 20 '13 at 18:27
1 Answers
4
            You're just passing a reference to the array. Neither the array nor any objects in it are copied.
 
    
    
        musical_coder
        
- 3,886
- 3
- 15
- 18
 
    