public class DummyString
extends java.lang.Object
Constructor and Description |
---|
DummyString()
Initializes a newly created
String object so that it represents
an empty character sequence. |
DummyString(java.lang.String... pieces)
concatenating String constructor
|
public DummyString()
String
object so that it represents
an empty character sequence. Note that use of this constructor is
unnecessary since Strings are immutable.public DummyString(java.lang.String... pieces)
pieces
- vararg of Strings to be concatenated to create this new String.