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

What is the difference between ienumerable and enumerable?

696


What does async mean in c#?

738


Explain About sn.exe

705


Why do you call it a process? What’s different between process and application in .net, not common computer usage, terminology?

800


How to implement a singleton design pattern in c#?

674


Explain static class members.

793


Explain the working of serialization?

676


What do you mean by “finalize” and “finally” methods in c#?

714


Is c# still popular?

678


What is dependency injection in simple words?

714


What is parallel programming in c#?

699


Explain the advantage of using system.text.stringbuilder over system.string?

681


What is check/uncheck?

832


Define strong name in c#?

706


What is the meaning of int parse in c#?

727