新手啊- -大神在哪里public class Person {\x05int id;\x05int age = 20;\x05Person(int _id ,int _age){\x05id = _id;\x05age = _age;\x05}}public static void main(String[] args) {\x05\x05Person tom = new Person(1,25);\x05}

来源:学生作业帮助网 编辑:作业帮 时间:2024/07/17 17:20:54
新手啊- -大神在哪里public class Person {\x05int id;\x05int age = 20;\x05Person(int _id ,int _age){\x05id = _id;\x05age = _age;\x05}}public static void main(String[] args) {\x05\x05Person tom = new Person(1,25);\x05}
xSMk@+Ba;6^U$$fR+ʂAX(AcPSpݮ"՞=ϼL\N.O/޾o>B[?5ͧ7];t/LCiy{i4AcD ~j6;V \Ek;/xVy~]<}*5jɓ>$aƼc,u|j2.oyf̊0CδbȴdmwGNcP44@"B"E|/J|B)$a[ȩx RIną-ђ J!ǘspAQHnŮe򋿒9P cUdM@{3UZ+kmWN+|98F7'LI^

新手啊- -大神在哪里public class Person {\x05int id;\x05int age = 20;\x05Person(int _id ,int _age){\x05id = _id;\x05age = _age;\x05}}public static void main(String[] args) {\x05\x05Person tom = new Person(1,25);\x05}
新手啊- -大神在哪里

public class Person {
\x05int id;
\x05int age = 20;


\x05Person(int _id ,int _age){
\x05id = _id;
\x05age = _age;
\x05}
}


public static void main(String[] args) {
\x05\x05Person tom = new Person(1,25);
\x05}

新手啊- -大神在哪里public class Person {\x05int id;\x05int age = 20;\x05Person(int _id ,int _age){\x05id = _id;\x05age = _age;\x05}}public static void main(String[] args) {\x05\x05Person tom = new Person(1,25);\x05}
构造器 少个public