Answer: A
Reason: To check whether a string starts with another string we can use hasPrefix and to check whether a string ends with another string, hasSuffix can be used. Example for prefix: "attitude".hasPrefix("at") // true Example for suffix: "Swift Programming".hasSuffix("ing") // true