day08--常用类-String-的分割方法_split
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user