方法的定义
1方法在类里面
2类(修饰符 返回值类型string 方法名)
break跳出switch,
3三元运算(return a>b ? a : b)
4oid返回值为空
5throws抛出一个异常