|
Problem:
You want to use a literal value as if it were an object. Solution:
Just do it:
Discussion: A literal value is nothing more than a specific (constant) instance of a builtin type or class; as such, you may call methods on literal values in the same manner as you call them on any other builtin types.
|