What is the difference between a constructor and a method?
3565
13-Jun-2012
Chris Anderson
13-Jun-2012A method is an ordinary member function of a class. It has its own name, a return type (which may be void), and is invoked using the dot operator.