Computer Science 2
CPSC 1302K
Syllabus
Calendar
String Introduction Exercises
< Previous
Next >
Look at the
documentation
for the
String
class
.
Read the description near the top (which starts with "
The String class represents character strings...
").
Look at the
Method Summary
section.
How many methods are listed?
Which ones do you recognize?
Click on a method that you recognize and read it's description. Write your own Java code that uses that method.
Click on a method you don't already know about and read it's description. Write your own Java code that uses that method.