This preview shows page 1. Sign up to view the full content.
Unformatted text preview: } //suppose we use system.out.println("n="+n); in positions 1~4 what does it print? 25 7 25 25 Every parameter passes to a java method is passed by value. Java makes a new variable with the parameter name and operates on this local copy - no change to original....
View Full Document
This note was uploaded on 10/12/2009 for the course CSC CSC 110 taught by Professor Anne during the Fall '04 term at University of Victoria.
- Fall '04