The 'capitalize' method takes in a word as input and returns the same word with its first letter converted to uppercase while keeping remaining letters unchanged.
Related terms
Substring: A portion of a longer string. It can be obtained from the original string by specifying the starting and ending index.
Return Type: The data type (in this case, 'String') that a method will return after executing its logic.
Method Signature: The combination of a method's name and parameter types. For example, 'capitalize(String word)' is the method signature in this case.