|
|
|
|
|
|
|
|
|
|
|
|
|
|
JAVA PROGRAMMING
The String Class In Java language a String is a sequence of characters. Implementing string as built-in objects allows Java to provider a full complement of features that make string handling convenient. For example, Java has methods to compare two stings, search for a substring, concatenate two strings, and change to case of letters. Here is a sample program using String class and its methods
|
|
||||||||
|
|
||||||||||
|
|
||||||||||
|
|
||||||||||
|
|