更改 API
让我们扩展API以提供更多功能:我们希望允许客户端指定生日贺卡的行列表:
package com.example.birthdayservice;
/** Birthday service interface. */
interface IBirthdayService {
/** Generate a Happy Birthday message. */
String wishHappyBirthday(String name, int years, in String[] text);
}