1. A constructor has the same name as the class name.
A function does not have the same name as the class name.
2. A constructor does not have a return value.
A function may or may not return a value.
3. Constructors are usually public.
A function may be public or private.
jessedsilva4
|