Probably best not to show inheriting from core classes.

Example 2 for Bob demonstrates inheriting from String. Probably not a good idea for the first example.