String
class provides below constructors to create String Objects
public
String()
public
String(byte[] bytes)
public
String(byte[] bytes, Charset charset)
public
String(byte[] bytes, int offset, int length)
public String(byte[]
bytes, int offset, int length, Charset charset)
public String(byte[]
bytes, int offset, int length, String charsetName)
public String(byte[]
bytes, String charsetName)
public String(char[]
value)
public String(char[]
value, int offset, int count)
public String(int[]
codePoints, int offset, int count)
public String(String
original)
public
String(StringBuffer buffer)
public
String(StringBuilder builder)
No comments:
Post a Comment