Filed under: Uncategorized
String classes and Methods
Each string class has methods to manipulate them. Any input from GUI windows come in as a string datatype and must be changed into the correct classes. String classes are constant and their value can’t be changed after they are created.
A string class is a complex data type, sort of like an ‘array’ but it’s more than just that. For example, in strings, the characters are indexed by number. Index = “length -1”
A list of every string method can be found under strings at Java 6 API Docs. This is handy if you don’t know what the method is or just want to know more.
Leave a Comment so far
Leave a comment