title: How to read from file in Java with confirm attributes
body: <p>Is it possible to determine the properties of an object after it is read from a file in Java?</p>
  <p>Suppose I write a list of students (name, age, grades,...) into the file &quot;student.txt&quot;.
  When I read to the file &quot;student.txt&quot; is there any way I can confirm the attributes (name, age, score, ...)?</p>