day08--常用类-String-的分割方法_split

This commit is contained in:
xx
2026-09-22 14:07:40 +08:00
parent 73e75c5df8
commit fe7909e12b
2 changed files with 33 additions and 0 deletions
@@ -3,7 +3,16 @@ package com.inmind.string01;
public class Student {
String name;
int age;
String gender;
String address;
public Student() {
}
public Student(String name, int age, String gender, String address) {
this.name = name;
this.age = age;
this.gender = gender;
this.address = address;
}
}