What is the deal with the period when using upper and lower?


#1



Replace this line with your code.


#2

String.upper() and String.lower() are string methods, meaning they are defined in the Sting class.

String.method()

The dot extends the object descriptor to include the property name so as to invoke it in the context of the object.