Java and JSP Question
View this question.
Add this question to a group or test by clicking the appropriate button below.
public class ChangeMe {
private static void changeMe(String s) {
s = new String("Blue");
}
public static void main(String args[]) {
String color = new String("Red");
changeMe(color);
System.out.println(color);
}
}
- Red
- Blue