Jul 07 2005 10:50 AM 12187 4 Difference between member function and a constructor? constructor cannot return value amitmathur Profile Answers by amitmathur Questions by amitmathur Feb 27th, 2010 Constructors get automatically invoked when its class object is created; whereas method has to be explicitly called.Constructors need to be have the same name whereas function need not to be the same.... narasimulu Profile Answers by narasimulu Questions by narasimulu Feb 16th, 2009 Function is a block of code, it can return a value.Constructor can't return a value. Answer Question Select Best Answer
Jul 07 2005 10:50 AM 12187 4 Difference between member function and a constructor? constructor cannot return value amitmathur Profile Answers by amitmathur Questions by amitmathur Feb 27th, 2010 Constructors get automatically invoked when its class object is created; whereas method has to be explicitly called.Constructors need to be have the same name whereas function need not to be the same.... narasimulu Profile Answers by narasimulu Questions by narasimulu Feb 16th, 2009 Function is a block of code, it can return a value.Constructor can't return a value. Answer Question Select Best Answer
amitmathur Profile Answers by amitmathur Questions by amitmathur Feb 27th, 2010 Constructors get automatically invoked when its class object is created; whereas method has to be explicitly called.Constructors need to be have the same name whereas function need not to be the same....
narasimulu Profile Answers by narasimulu Questions by narasimulu Feb 16th, 2009 Function is a block of code, it can return a value.Constructor can't return a value.