class Text{
// //方法重载
// public int Mulit(int a, int b){
// return a * b;
// }
// public float Mulit( float a, float b){
// return a * b;
// }
// public double Mulit(double a, double b){
// return a * b;
// }
//
// //递归 一定要有出口 递了要归 来理解
// public int Factorial(int n){
// if (n == 1) {
// //出口
// return 1;
// }
// return n * Factorial (n - 1);
// }
// public int Fib(int n){
// if (n == 1 ||n == 2) {
// return 1;
// }
// return Fib (n - 1) + Fib (n - 2);
// }
// public int Sum(int n){
// if (n == 1) {
// return 1;
// }
// return n + Sum (n - 1);
// //方法重载
// public int Mulit(int a, int b){
// return a * b;
// }
// public float Mulit( float a, float b){
// return a * b;
// }
// public double Mulit(double a, double b){
// return a * b;
// }
//
// //递归 一定要有出口 递了要归 来理解
// public int Factorial(int n){
// if (n == 1) {
// //出口
// return 1;
// }
// return n * Factorial (n - 1);
// }
// public int Fib(int n){
// if (n == 1 ||n == 2) {
// return 1;
// }
// return Fib (n - 1) + Fib (n - 2);
// }
// public int Sum(int n){
// if (n == 1) {
// return 1;
// }
// return n + Sum (n - 1);
// }
// public enum Gender{
// man,
// woman
// }
// public class Person
// {
// public string name;
// public int age;
// public Gender gender;
// public int id;
// public Person ()
// {
// }
// //自定义构造方法
// public Person (string name, int age, Gender gender, int id){
// this.age = age;
// this.name = name;
// this.gender = gender;
// this.id = id;