close
#!/bin/bash
#Program: 
#History: Jan. 5, 2007 rusin first release 
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin export PATH

http://www.javaworld.com/javaworld/javaqa/2000-05/03-qa-0526-pass.html

- Java passes the references by value just like any other parameter. 
This means the references passed to the method are actually copies of the original references.
- Java manipulates objects 'by reference,' but it passes object references to methods 'by value.'"
As a result, you cannot write a standard swap method to swap objects.




arrow
arrow
    全站熱搜

    rusin2 發表在 痞客邦 留言(1) 人氣()