Consider the following method:
public static String capitalize(String word) {
return word.substring(0, 1).toUpperCase() + word.substring(1);
}
Assume that the following code segment appears in a class:
String result = capitalize("hello");
System.out.println("Capitalized word: " + result);
What is printed as a result of executing the code segment?