I created a user defined data type and read data from a file. Here are the codes:
Student Class:
package system.data; public class Student { private St
Actually you are always using the same student object.You have to put Student student = new Student(); inside the for loop.