1. public class Person {
    2. int id;
    3. int age;
    4. String school;
    5. public Person (int a,int b,String c){
    6. id=a;
    7. age=b;
    8. school=c;
    9. }
    10. public static void main(String args[]){
    11. Person p= new Person(1,20, "海淀");
    12. }
    13. }

    image.png