I would count the new's, so on face value it would seem like two, except if you are counting the
string literal, which technically I guess would be number 3.
JLS: Each string literal is a reference (�4.3) to an instance (�4.3.1, �12.5) of class String (�4.3.3). String objects have a constant value. String literals-or, more generally, strings that are the values of constant expressions (�15.28)-are "interned" so as to share unique instances, using the method String.intern.