Methods
Introduction
Methods are the way we can call the functions of an object. To use a method, type the function name preceded by the keyword ::
Example
"1, 2, 3"
Methods are the way we can call the functions of an object. To use a method, type the function name preceded by the keyword ::
"1, 2, 3"