1// These two have the same value
2new String("test").equals("test") // --> true
3
4// ... but they are not the same object
5new String("test") == "test" // --> false
6
7// ... neither are these
8new String("test") == new String("test") // --> false
9