Thursday 12 June 2014

String Class

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.,




Prevoius                                                 Next                                                 Home

No comments:

Post a Comment