I've seen many different answers to this...is it possible to have a constructor for a class that returns a value?

Recommended Answers

It does return a value, the reference to the class you just constructed. A constructor can return nothing else (or it's not a constructor).

Jump to Post

All 2 Replies

It does return a value, the reference to the class you just constructed. A constructor can return nothing else (or it's not a constructor).

commented: Well said. +14