Create a class called Student, with the following attributes/variables:
a. studentName (String)
b. studentNumber (int)s
c. regYear(long)
d. faculty(String)
e. department(String)
class Student{
private String studentName;
private int studentNumber;
private long regYear;
private String faculty;
private String department;
}
Comments
Leave a comment