sample questions from the AP COMPSCI course description

Shahein
Sat, 30 Apr 2005 11:08:25 +0000

because Strings and primitive types are passed by value to a method and not by reference like objects. Thus, any changes made to a string or integer remain only in the method and not outside of it unless the values are returned from function using a return statement.