explain DIFFERENCE BETWEEN CLASS AND MODULE?

Answer Posted / hafiz usman majeed

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 ?    16 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to create crystal reports give one detail example(i want to view age category report) please give suitable example in my small knowledge

1831


Does c# have a 'throws' clause?

769


What is difference between var dynamic and object in c#?

692


I was trying to use an out int parameter in one of my functions. How should I declare the variable that I am passing to it?

750


Why do we need ienumerable in c#?

679


What is the purpose of escape sequence?

794


What are different types of classes in c#?

658


Can constructor have return type c#?

808


What is a private class in c#?

700


What is difference between dictionary and list in c#?

683


What is ildasm and obfuscator in net?

729


What is the difference between icomparer and icomparable in c#?

656


What is object type in c#?

729


Explain About ADO and its objects

769


Is .net and c# the same?

743