input student data from a file
create a student object
write the student object data to standard output.
Download the input text file studentInput.txt. This filecontains four lines with a student’s data. The first line is thestudent’s first and last name, the second line is the student’s idnumber, the third is the student’s year and the fourth containingthe student’s major.
Create a java file called<yourLastName>Student.java. Thisfile will contain the Student class. My program would beConwayStudent.java and my class name would be ConwayStudent.
In the class Student, code the following methods and data:
Fields (all should be private):
– String name
– int idNumber
– char year
– String major
Methods (all
PayPal Gateway not configured
PayPal Gateway not configured