string NotChanged; NotChanged = "Fred"; MyOrdinaryMethod(NotChanged); if (NotChanged == "Fred") ... That is, unless the parameters to the method are marked with the ...
The problems with PreparedStatement stem from its syntax for parameters. Parameters are anonymous and accessed by index as in the following: PreparedStatement p = con.prepareStatement("select * from ...