First page Back Continue Last page Graphics
TWO CONSTRUCTORS
First constructor takes no arguments and creates and empty Student_info object. This would be used by saying Student_info s;
Second constructor takes a reference to an input stream and initializes the object by reading a student record from that stream. This would be used by saying Student_info s2(cin);
Constructors have the same name as the class.
Constructors have no return type.