8 lines
253 B
Java
8 lines
253 B
Java
public class Ex8 {
|
|
public static void main(String[] args) {
|
|
Student stu1 = new Student("John Chan"); //line 10
|
|
System.out.println(Student.numberOfStudent); //line 11
|
|
System.out.println(stu1.name); //line 12
|
|
}
|
|
}
|