Using Predefined Classes
Java API contains a large number of predefined classes for use in your program (application).
String class in one of them. It is defined in java.lang package.
Instantiate an object MyName and initialize it to your name:
Previous slide
Next slide
Back to first slide
View graphic version