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                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  C Sharp
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
explain DIFFERENCE BETWEEN CLASS AND MODULE?
 Question Submitted By :: Ranjith
I also faced this Question!!     Rank Answer Posted By  
 
  Re: explain DIFFERENCE BETWEEN CLASS AND MODULE?
Answer
# 1
Both class and module are a collection of methods and 
properties. The major difference is that instances can be 
created from a class in the form of objects, but not from a 
module. The scope of the members of a class is only for the 
lifetime of the object, but the scope of the members of a 
module exist for the life of the program
 
Is This Answer Correct ?    7 Yes 2 No
Ranjith
 
  Re: explain DIFFERENCE BETWEEN CLASS AND MODULE?
Answer
# 2
Both class and module are a collection of methods and 
properties. The major difference is that instances can be 
created from a class in the form of objects, but not from a 
module. The scope of the members of a class is only for the 
lifetime of the object, but the scope of the members of a 
module exist for the life of the program
 
Is This Answer Correct ?    6 Yes 1 No
Srinivas
 
 
 
  Re: explain DIFFERENCE BETWEEN CLASS AND MODULE?
Answer
# 3
a module is a source code file containing only collection 
of related methods. it cannot be used alone, rather it 
should be used in some other program that used there 
funtions. it is used as library. whereas a class is 
collection of both data and function and can be executed 
alone and can be instantiated.
 
Is This Answer Correct ?    5 Yes 3 No
Hafiz Usman Majeed
 

 
 
 
Other C Sharp Interview Questions
 
  Question Asked @ Answers
 
Can you prevent your class from being inherited and becoming a base class for some other classes?  4
Does C# support multiple inheritance?  3
What is architecture of your poroject? how i c an say? Phoenix-Technologies1
What?s the implicit name of the parameter that gets passed into the class? set method? Visual-Soft2
About Virtual functions and their use ? MMTS8
What is the difference between readonly and constant in c# Fulcrum-Logic2
When you inherit a protected class-level variable, who is it available to?  2
Suppose in a scenario if we want to display information only until 4.00 p.m and after that means after 4.00 p.m if any one tries to access the information it should give error mesage. Then how will you write a delegate for this ? Give coding. HP1
How u call destructor and dispose methode in c#.NET  1
Can you allow class to be inherited, but prevent the method from being over-ridden?  3
What is the difference between directcast and ctype? Wipro2
write the Syntax for Function or Method Overriding? HCL4
What is overloading and how can this be done ? MMTS3
What is covariance and contravariance? Did Delegate and method overriding support these? TCS1
How can you overload a method?  2
OOPs concept ? MMTS1
Trace the O/p for a program on inheritance and Polymorphism. 3 classes A,B,C A with two methods public virtual SomeMethodA public virtual SomemoreMethodA B:A overide virtual SomeMethodA C:B new Method SomeMethodA override SomeMoreMethodA main method { b new instance of B b.SomeMethodA b.SomeMoreMethodA b1 new instance of C b1.SomeMethodA b1.SomeMoreMethodA }  1
How to throw an caught exception from cath block? TCS3
When static constructor is invoked? TCS6
How does a function pointer returns a function pointer? Wipro3
 
For more C Sharp 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