Hypotenuse AI interview question

Classes vs objects class overloading vs overriding