We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f57ffa9 commit f03de6cCopy full SHA for f03de6c
Student.java
@@ -0,0 +1,21 @@
1
+public class Student{
2
+ private String name;
3
+ private int id;
4
+
5
+ public Student(String name, int id){
6
+ this.name = name;
7
+ this.id = id;
8
+ }
9
+ public String getName(){
10
+ return name;
11
12
+ public int getId(){
13
+ return id;
14
15
+ public void setName(String name){
16
17
18
+ public void setId(int id){
19
20
21
+}
0 commit comments