Hi...
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?
Thanks
Venkatesh
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?
Thanks
Venkatesh