GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Tech FAQs  >  OOPS
Go To First  |  Previous Question  |  Next Question 
 OOPS  |  Question 26 of 255    Print  
What is Namespace?

  
Total Answers and Comments: 4 Last Update: November 12, 2007   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
September 15, 2005 05:45:30   #1  
RaviChandra        

RE: What is Namespace?

Namespace is the Logical container Of Different Class.


 
Is this answer useful? Yes | No
March 27, 2006 08:07:54   #2  
Yashwant S pinge        

RE:
Namespaces allow to group entities like classes, objects and functions under a name. This way the global scope can be divided in "sub-scopes", each one with its own name.The format of namespaces is:namespace identifier{entities}Where identifier is any valid identifier and entities is the set of classes, objects and functions that are included within the namespace. For example:namespace myNamespace{ int a, b;}In this case, the variables a and b are normal variables declared within a namespace called myNamespace. In order to access these variables from outside the myNamespace namespace we have to use the scope operator ::. For example, to access the previous variables from outside [myNamespace=] we can write:general::ageneral::b
 
Is this answer useful? Yes | No
April 18, 2007 04:37:22   #3  
jbanx Member Since: February 2007   Contribution: 38    

RE:
It is the logical grouping of various similar classes !!! Why means that all the properties, fields and methos inside namespace are specific to this logical grouping ...



 
Is this answer useful? Yes | No
November 12, 2007 08:29:48   #4  
sharma.mahesh3 Member Since: October 2007   Contribution: 14    

RE: What is Namespace?
namespace is a logical collection of classes in which different methods,properties are predefined.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape