Created
February 16, 2009 22:29
-
-
Save jbgutierrez/65421 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class StringTest | |
{ | |
public static void main (String [] args) | |
{ | |
String a = "Esto no se va a imprimir"; | |
String b = "Esto se va a imprimir"; | |
a = b; | |
b = "Esto parece que se va a imprimir, pero NO!"; | |
System.out.println(a); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment