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  >  Interview Questions  >  Microsoft  >  Basics

 Print  |  
Question:  Define class, module and access specifiers.



October 10, 2006 06:12:56 #1
 Swapna Gentyala   Member Since: October 2006    Total Comments: 10 

RE: Define class, module and access specifiers.
 
Class: A class is a template for objects. It is static. The attributes of a class doesn't change before, during, or after the execution of the class. Module: A module is a collection of Classes, functions, and procedures. A module cann't be istantiated. But a class can have instances of it.Access Specifiers: Public, Private and Friend are the Access Specifiers for Classes. Whether we can access a class or not depends on the Access Specifier. Public class can be accessed from anywhere. Private can be accessed only within the function.
     

 

Back To Question