I have learnt from a book that a constructor and a method(both in the same class)might have the same name.And the answer given by the author was: They both occupy different 'namespaces'so no collision.
1.I want to know what is meant by 'namespaces'.? 2.In Memory where the class,variables,methods are stored?
Instead of trying to understand what namespace means in this case, I'd say to myself : "setting a method name with the same name as the constructor should be considered as bad practice"
The programmer who does this is living in another namespace too