OP,
You need to override the toString() method in your Student class and print something sensible inside that.
The current output is showing the "Classname @ hex version of object's hashcode"...
Type: Posts; User: goldest
OP,
You need to override the toString() method in your Student class and print something sensible inside that.
The current output is showing the "Classname @ hex version of object's hashcode"...