Interviews3 answers
Difference B/W Name Space and Class ?
3 Answers
Namespace is collection class,structs where as a class an entity can be used to define functionalities.
Vishal JadavPosted Aug 12, 2016, 12:14 AM EDT
Namespace is a logical grouping of class,interface,etc.It helps in preventing name collision .We can have 2 classes with same name in different namespace.
Rajeev PunhaniPosted Jan 28, 2016, 11:58 PM EST
Name space provide a way to keep one set of name different from another.. Class name declared in one name space does not conflict with name space declared in another...
Class is a collection of objects. It can be used to create multiple copies of object.
Ubaid RazaPosted Dec 14, 2015, 11:50 AM EST

