String
is a collection of characters. Strings
are constant; their values cannot be changed after they are created.
To support mutable object Java provides StringBuffer and
StringBuilder classes.
The
string class provides various methods like to compare two strings,
get a character at specific position, get the sub string etc.,
No comments:
Post a Comment