"Common class"
<1> string-related classes (string, StringBuffer)<2> Basic Data type wrapper class<3>math class<4>file class<5> Enumeration Classes "String Class" the <1>java.lang.string class represents the immutable sequence of characters. common construction methods for the <2>string class:string (string original)//Create a copy of the string object as originalString (char[] value)//Create a String object with a character arrayString (char[] value,int offset,int count)//Use a character array to create a string object from the count character sequence starting with the offset entry "Program: string Equality" "Examples of commonly used string classes" "Other common methods of the string class" <1> Static Reload methodPublic static String valueOf () can convert the base data type to a string. For example:Public static string valueOf (int i)//convert int data type to data string sequence<2> Segmentation MethodPublic string[] Split (string regex) can return a string array of strings following a delimited delimiter. Examples of programs:
java--Common Class (String)