|
-
November 16th, 2005, 10:11 AM
#1
Polymorphism
Hello firends
From PHP 5 mysql Bible(Page 373) :
"There should be only one constructor function per class definition. Defining more than one such function is syntactically legal, but pointless, as only the definition that occurs last will be in effect. If you’d like to have different constructors to handle different numbers and types of input arguments, "
What is relationship between "different constructors to handle different numbers and types of
input arguments" and "polymorphism"?
Thanks in advance,
GOOD LUCK!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|