10/14 開発課題
This commit is contained in:
10
Student.java
Normal file
10
Student.java
Normal file
@@ -0,0 +1,10 @@
|
||||
package misson1014;
|
||||
|
||||
public class Student {
|
||||
int studentId;
|
||||
String name;
|
||||
|
||||
void printProfile() {
|
||||
System.out.println("学籍番号:" + this.studentId + " 名前:" + this.name);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user