## How many constructors does the class have?

I’m preparing for an upcoming C++ exam and came across this question about classes and constructors: How many constructors does the class Fraction have?” class Fraction { //… public: Fraction(int numerator = 0, int denominator = 1); //… }; I thought it’s only one, but they suggested there are three: Fraction(); Fraction(n); Fraction(n, d); Or … Read more