Lucky Cat Tutoring Services


CIT 111: String Classes and Methods
September 1, 2009, 4:41 pm
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.

Advertisements

Leave a Comment so far
Leave a comment



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s



%d bloggers like this: