day11-final关键字用于修饰局部变量

This commit is contained in:
2026-07-28 09:58:39 +08:00
parent 93f9e952d7
commit 06b6d7c176
2 changed files with 54 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
package com.inmind.final01;
public class Student {
String name;
int age;
public Student(String name, int age) {
this.name = name;
this.age = age;
}
}