Thread: What are constructers and overloaded constructers?

  1. #1
    Registered User
    Join Date
    Jan 2003
    Posts
    15

    What are constructers and overloaded constructers?

    Can someone tell me what a constructer and an overloaded constructer are?

  2. #2
    Programming Sex-God Polymorphic OOP's Avatar
    Join Date
    Nov 2002
    Posts
    1,078
    Read the 2nd Reply

    As for overloaded constructors: An overloaded function (in this case a constructor) is when you make multiple functions with the same name but which take different arguments. With constructors, this allows you to construct your objects in literally an infinite amount of ways (or until you get tired of typing... whichever comes first )

Popular pages Recent additions subscribe to a feed