ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C++  >>  OOPS
 
 


 

 
 STL interview questions  STL Interview Questions
 OOPS interview questions  OOPS Interview Questions
 C++ General interview questions  C++ General Interview Questions
Question
What is namespace?
 Question Submitted By :: Tribhuvan Sharma
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is namespace?
Answer
# 1
A namespace is an abstract container or environment created 
to hold a logical grouping of unique identifiers (i.e., 
names). 
Namespaces allow to group entities like classes, objects 
and functions under a name.
 
Is This Answer Correct ?    1 Yes 1 No
Kiruthika
 
  Re: What is namespace?
Answer
# 2
namespace is a one of the problems solved by namespaces, 
that of conflicting class names
 
Is This Answer Correct ?    0 Yes 0 No
Kumarasamy
 
 
 
  Re: What is namespace?
Answer
# 3
it is used to solve the problem when there is conflict 
between class names
 
Is This Answer Correct ?    0 Yes 0 No
Naveen Kumar
 
  Re: What is namespace?
Answer
# 4
namespace is used to avoid class name collision.
 
Is This Answer Correct ?    1 Yes 1 No
Vadivel
 
  Re: What is namespace?
Answer
# 5
Namespace is logical group of classes.It can span multiple 
assembly.
 
Is This Answer Correct ?    1 Yes 0 No
Ritesh Kumar Rawat
 
  Re: What is namespace?
Answer
# 6
Namespace is a group of classes, structures, interfaces, 
enumerations, and delegates, organized in a logical 
hierarchy by function, that enable you to access the core 
functionality you need in your applications. 
Namespaces are the way that .NET avoids name clashes 
between classes. A namespace is no more than a grouping of 
data types, but it has the effect that the names of all 
data types within a namespace automatically get prefixed 
with the name of the namespace. It is also possible to nest 
namespaces within each other.
 
Is This Answer Correct ?    5 Yes 0 No
Ritesh Kumar Rawat
 

 
 
 
Other OOPS Interview Questions
 
  Question Asked @ Answers
 
What do you mean by inline function?  1
what is multithreading in c++ , what is difference between multithreading and singlethreading.  1
what is an instance of a class  2
What are the OOPS concepts? Wipro19
What is an orthogonal base class?  1
what is a ststic variable and stiticfunction briefly explain with exmple and in which case we use HCL1
what is the basic concept of inheritance?  3
What is command routing in MFC GE1
WHEN A COPY CONSTER IS CALL ?  1
polymorphism means? BFL2
what is the difference between <stdio.h>and "stdio.h"?  2
what is meant by files? Infosys2
what is difference b/w object based and object oriented programming language? Infosys2
When will a constructor executed?  2
Which is faster post increment or pre increment ? and in which cases should u use either - to increase speed? EA-Electronic-Arts2
What is virtual class and friend class? Intel2
how to find no of instances of an object in .NET? Infosys1
what is a virtual class? Cap-Gemini1
Base class has two public data members. How can i derive a new class with one datamember as public and another data member as private?.  2
We have a scale and 7 balls. 1 ball is heavier than all the rest. How to determine the heaviest ball with only 3 possible weighing attempts? IBM3
 
For more OOPS Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com